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

PostShorten divs break lines in the middle of words #118

Closed
jbcpollak opened this issue Oct 12, 2015 · 3 comments
Closed

PostShorten divs break lines in the middle of words #118

jbcpollak opened this issue Oct 12, 2015 · 3 comments

Comments

@jbcpollak
Copy link

It looks like the .postShorten classes have this css:

word-break: break-all;

This cases a line to break in the middle of a word, like this:

The quick brown fox jumped over the la
zy dog.

Is that intentional? I would expect:

The quick brown fox jumped over the 
lazy dog.
@LouisBarranqueiro
Copy link
Owner

yeah, I did that to fix this : #62. but yeah, it created an other problem.

@jbcpollak
Copy link
Author

I think you want to use overflow controls for that problem. Possibly overflow: scroll

StackOverflow used to have a similar problem with <pre> blocks, I forget how they solved it.

@LouisBarranqueiro
Copy link
Owner

It caused by long string like an url without - (in our case), I will remove this css property.

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

No branches or pull requests

2 participants