Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use text-wrap rather than non-breaking space in titles #2221

Open
spaceninja opened this issue Mar 20, 2024 · 0 comments
Open

Use text-wrap rather than non-breaking space in titles #2221

spaceninja opened this issue Mar 20, 2024 · 0 comments

Comments

@spaceninja
Copy link
Member

image

We currently avoid orphans in titles by adding a non-breaking space between the last two words. This is usually fine, but in some cases it can result it awkward breaking (like in the screenshot).

We should explore using text-wrap:balance or text-wrap:pretty as browser support increases, with the goal of dropping the non-breaking space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant