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

WordBreak #17

Closed
devinsays opened this issue Dec 8, 2014 · 1 comment
Closed

WordBreak #17

devinsays opened this issue Dec 8, 2014 · 1 comment

Comments

@devinsays
Copy link
Owner

I am using your theme in my website. I have a problem: when I write a long title on my posts, the words are broken arbitrarily.

Let me write an example. Let’s say i wrote a title like “How to format the title”. The problem is that since it is a long title, needs to be displayed in two lines and might be shown like this:

” How to form
at the title”

That is, breaking the word “format” in an incorrect way.
Is there a way to stop this behaviour and displaying instead?:

“How to
format the title”

@devinsays
Copy link
Owner Author

Looks like "break-all" might not be the best for titles:
https://github.com/devinsays/visual/blob/master/style.css#L778

Let's see if this can be fixed without long titles still overflowing the container.

Perhaps: word-break: break-word;

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