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

Justified text doesn't seem to behave well with code elements #72

Open
ymeine opened this issue Apr 3, 2014 · 1 comment
Open

Justified text doesn't seem to behave well with code elements #72

ymeine opened this issue Apr 3, 2014 · 1 comment
Labels

Comments

@ymeine
Copy link
Contributor

ymeine commented Apr 3, 2014

While writing some documentation, I stumbled upon a quite ugly (sorry, this is really a matter of feelings here) display in the case of using long inline code elements in a paragraph. The paragraph is justified, but the code element won't break, leading to big spaces.

Justified text example under Chrome

Associated CSS rule:

2014-04-03 11_52_13-writing templates - aria templates usermanual latest

Note that this happens only under Chrome, since for Firefox the hyphenation prevents this, see #71

@ymeine ymeine added the bug label Apr 3, 2014
@jakub-g
Copy link
Collaborator

jakub-g commented Apr 3, 2014

Yup it's ugly indeed.

I'm fine with disabling justification. Though it's pretty widespread in use, some people claim it's unnatural in fact to use that, since it distorts the way how human eye normally operates.

Most of the media sites, including BBC or Guardian, use left-alignment in their articles.

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

No branches or pull requests

2 participants