Fix for long homepage title words causing horizontal scrolling on mobile #322
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey! My layout for the home page is slightly different than yours, so definitely test on your side, but I noticed that particularly long unbroken strings can cause the homepage to gain a horizontal scroll leading to a difficult reading experience. This is a problem I have because Pocket occasionally drops unbroken URLs into my Amplify block, but may not happen on your site, but could one day. This fixed it on my site, I think it should fix it on yours as well if it happens there.
I also added an
.editorconfig
file. I don't think you use it, but by having it in your repo, future contributors who leverage EditorConfig can make changes without accidentally changing a ton of spacing in the files they touch. Even so, this comes with a bunch of spacing changes, sorry!The main change is at the top of
.content-grid
andmain > section
.The double rule of
is there because
pretty
looks better, but is not as broadly adopted across browsers asbalance
is.