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

Break words only in tables to avoid break words for whole post body. #844

Merged
merged 2 commits into from
Apr 25, 2016
Merged

Break words only in tables to avoid break words for whole post body. #844

merged 2 commits into from
Apr 25, 2016

Conversation

Haocen
Copy link
Contributor

@Haocen Haocen commented Apr 23, 2016

No description provided.

to avoid breaking English words in middle.
@Haocen
Copy link
Contributor Author

Haocen commented Apr 23, 2016

This is just a temporary fix.
To fix the overflow problem once and for all:

  1. All elements that is possible to flow should have overflow-x: auto; applied to its parent. This require modifying the post.swig template to wrap these elements up, may cause other problems.
  2. To ensure robust there should be JavaScript dynamically apply overflow-x: auto; to elements that overflow the width of the device.

@iissnan
Copy link
Owner

iissnan commented Apr 25, 2016

Thanks. 👍

@iissnan iissnan merged commit fb1a2e7 into iissnan:master Apr 25, 2016
habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 8, 2017
Break words only in tables to avoid break words for whole post body.
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

Successfully merging this pull request may close these issues.

2 participants