-
-
Notifications
You must be signed in to change notification settings - Fork 66
Theme: text justification looks bad (in narrow columns) #77
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
Comments
I don't know about the best practices about this. While I can understand the use of justify on multi-column displays (like printed newspapers) I don't feel it add any benefit on a single column of text, I'll be ok for this to be removed, but I bet many will complain too? |
I do: align left. Justified doesn't work well on the web, hyphenated or not. Some references:
A good quote from the latter link: “And let’s face it: there is nothing about justified text that is meant to improve the reading experience. It is solely for the purpose of aesthetics.”
That would be great, thanks for considering!
Yeah, but that's a general problem with a project of this scale and visibility: you probably can't change a single pixel without someone tripping over it... |
Similarly justified text is bad for accessibility: |
@obulat PR fixing this can be tested at https://docs.python.org/3.10 |
I'm stoked to see the huge improvements of the docs on mobile. This is really fantastic.
One thing I noticed, though, is that there are often huge gaps between words. For example (on Android):

Using "text-align: left" would make this look a lot better.
I would go further, and recommend to never ever use "justify" at all: it generally reduces readability and often simply looks bad. Even with wider columns it often becomes a typographic disaster (Safari, desktop):

The text was updated successfully, but these errors were encountered: