-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
DOC: Fix table styling in main docs #16145
Conversation
When switching to nbsphinx, I modified the site's CSS so that the converted notebook looks decent. This had some unfortunate changes on tables elsewhere in the notebook. This change fixes the headers to be left-aligned in the main site, and right-aligned for the tables generated by `df.style` in the nbsphinx-converted notebook. xref pandas-dev#15581
what is this modification (I am needing to steal for another project). |
Just the diff here. Rather than applying the |
Codecov Report
@@ Coverage Diff @@
## master #16145 +/- ##
==========================================
+ Coverage 90.83% 90.86% +0.02%
==========================================
Files 159 159
Lines 50787 50787
==========================================
+ Hits 46134 46146 +12
+ Misses 4653 4641 -12
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #16145 +/- ##
==========================================
+ Coverage 90.83% 90.86% +0.02%
==========================================
Files 159 159
Lines 50787 50787
==========================================
+ Hits 46134 46146 +12
+ Misses 4653 4641 -12
Continue to review full report at Codecov.
|
When switching to nbsphinx, I modified the site's CSS so that the converted notebook looks decent. This had some unfortunate changes on tables elsewhere in the notebook. This change fixes the headers to be left-aligned in the main site, and right-aligned for the tables generated by `df.style` in the nbsphinx-converted notebook. xref pandas-dev#15581
When switching to nbsphinx, I modified the site's CSS so
that the converted notebook looks decent. This had some
unfortunate changes on tables elsewhere in the notebook.
This change fixes the headers to be left-aligned in the main site,
and right-aligned for the tables generated by
df.style
in thenbsphinx-converted notebook.
xref #15581
Before:
After: