You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases the blog titles in the sidebar can be just long enough to wrap exactly one word onto the next line, which looks pretty bad. This is sometimes called a "widow" or an "orphan" and we can prevent it by replacing the last space in the line with a non breaking space
Here is what it currently looks like:
And here is what it looks like with the fix applied to the first line:
To Do
create a no-widow helper that will replace the last space in the text passed to it with a non-breaking space
apply this helper to the titles of the tag sidebar
In some cases the blog titles in the sidebar can be just long enough to wrap exactly one word onto the next line, which looks pretty bad. This is sometimes called a "widow" or an "orphan" and we can prevent it by replacing the last space in the line with a non breaking space
Here is what it currently looks like:
And here is what it looks like with the fix applied to the first line:
To Do
no-widow
helper that will replace the last space in the text passed to it with a non-breaking spaceIf you want to read more about widows and orphans you can see more here: https://en.wikipedia.org/wiki/Widows_and_orphans
The text was updated successfully, but these errors were encountered: