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 hyphens to separate words properly #1452

Merged
merged 1 commit into from Sep 3, 2019
Merged

Conversation

alina-beck
Copy link
Collaborator

🍰 Pullrequest

Uses hyphenation for

  • post titles
  • post content
  • user description
  • am I missing something?

This solution does not work for all languages in all browsers on all operating systems (it's complicated 😏) – as a fallback words will still break in random places when they would otherwise overflow.

Setting hyphens to auto also means that all words can potentially break, not just the very long ones overflowing the container. Unfortunately at this point this is a binary setting in CSS (can be either on or off) but there is a property in planning that would allow us to set a hyphenation threshold. I hope this will be implemented soon! Until then...

Issues

@alina-beck alina-beck self-assigned this Sep 2, 2019
Copy link
Contributor

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@roschaefer roschaefer merged commit 649c51c into master Sep 3, 2019
@roschaefer roschaefer deleted the separate-text-at-words branch September 3, 2019 16:12
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

Successfully merging this pull request may close these issues.

πŸ› [Bug] separate text at words
2 participants