-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Wrap table cells for a better responsive table experience + fix print #432
base: master
Are you sure you want to change the base?
Conversation
edf3c99
to
1d2c1a2
Compare
Hi, |
@dpdani No, the CSS that changes |
@benjaoming Ok thank you. |
FYI, this is a sensitive change, so the review might take a while as we test. |
@Blendify sounds good! Thanks for taking time to test it! |
@ericholscher @agjohnson questions or concerns here that I can respond to? |
…d theme_overrides.css without overriding the entire theme when on remote RTD server See: readthedocs/readthedocs.org#2116 readthedocs/sphinx_rtd_theme#432
Hi RTD team, What are the prospects to have this PR merged? This bug is really annoying. Here is my story:
Looking forward to see this PR merged. |
We will have a look as soon as the next release is out. |
1 similar comment
We will have a look as soon as the next release is out. |
…e table cells. Each row is extended to fit the text as a single line. For a table with multiple columns and long sentences the table may get wide, with long scrollbar underneath and is not convenient to read. This MR makes the text wrap inside table cells. There is an open PR to fix this issue - readthedocs/sphinx_rtd_theme#432.
* Adopt RTD theme for docs HTML rendering. * Refactored the settings related to generating the table of contents as this is rendered somewhat differently in the RTD theme. * Update RTD configuration settings, just install requirements in setup.py file instead of using environment.yaml. * Generate individual rst files for all individual functions. * Add CSS file to fix wrapping issues as discussed here, readthedocs/sphinx_rtd_theme#432 (comment). * Revise content on index.rst file.
dfd6baf
to
a546ace
Compare
a546ace
to
82b1e5e
Compare
What does that mean? PR is rebased to latest master. |
This can be ignored, it was automated. All the labels for rtfd were synced so some were removed. |
@benjaoming we don't use that label anymore on rtd, now we use |
Okay, it's ready for review... and has been since June 2017 😄 |
What are the chances of getting this reviewed/merged in the foreseeable future? |
Adding this for additional reference to the extensive workarounds for this issue: OpenShot/openshot-qt#1272 |
… responsive-tables
e9e8358
to
43ecd00
Compare
43ecd00
to
709f578
Compare
709f578
to
690f562
Compare
Fixed a bit of SASS syntax and merged latest master in. Understanding that this PR will change how existing tables are displayed by default, but I think it's an entirely desirable change. One hack will still exist to keep very wide columns because What do other themes do?Short answer: They wrap text in table cells. As there aren't any specific worries associated with the change and I see other themes with text wrap in table cells, I think this would still be the way forward. Examples of other themes with wrapping:
(I didn't find an example of the opposite) |
Bumping the release on this, 1.1 is a bug fix release. |
Fixes
Adds:
<td>
s on desktop sizesDoes not wrap
<th>
on purpose, this leaves a bit of control for people who wanna force the width of certain columns.Please observe the great amount of projects working around the issue with related commits, issues and PRs.
Quotes:
@kmike
@agjohnson
Before
I agree that this may look nicer, but that's only because the example table doesn't have a lot of text in its
<td>
s!After
Printing
There's now a higher probability that tables will print:
FAQ
Q: Why no
overflow: visible
on desktop tables?A: Because horizontal scrolling is completely off in the theme, so the table would be cropped like this :/