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

Texts in the classic html theme should be hyphenated. #2301

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

xuhdev
Copy link
Contributor

@xuhdev xuhdev commented Feb 8, 2016

To avoid "river of white".

This currently works well in Firefox, but Chromium seems not supporting it well yet (but does not hurt anyway).

@birkenfeld
Copy link
Member

Should probably go to stable branch...

@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 10, 2016

It wont work without #2282 ...

@lehmannro
Copy link
Contributor

Is there a reason this cannot live in basic.css?

@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 12, 2016

@lehmannro Because the basic theme does not enforce text alignment to be justified, so it's not necessary to do. But you may be right that it is better to hyphenate even if it's not justified.

@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 13, 2016

I can move this to the "basic" theme if you want to.

@tk0miya
Copy link
Member

tk0miya commented Feb 16, 2016

I'll take a look later.

MEMO: hyphens property definition in CSS3
https://www.w3.org/TR/css-text-3/#hyphens-property

@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 19, 2016

I've changed the styling to the basic theme---I now consider it generally better, even without justified text alignment.

@tk0miya tk0miya added this to the 1.4 milestone Feb 20, 2016
@tk0miya
Copy link
Member

tk0miya commented Feb 22, 2016

Oh, sorry. I intended to comment.

LGTM :-) It looks fine. +1 for merge!

Before:
2016-02-20 19 19 45
2016-02-20 19 21 12

After:
2016-02-20 19 18 58
2016-02-20 19 21 29

@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 24, 2016

Any plan to merge this :)

tk0miya added a commit that referenced this pull request Mar 1, 2016
Texts in the classic html theme should be hyphenated.
@tk0miya tk0miya merged commit a676f6d into sphinx-doc:master Mar 1, 2016
tk0miya added a commit that referenced this pull request Mar 1, 2016
@tk0miya
Copy link
Member

tk0miya commented Mar 1, 2016

Thank you always!

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

Successfully merging this pull request may close these issues.

4 participants