File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* override table width restrictions */
2
+ /* as described in https://github.com/snide/sphinx_rtd_theme/issues/117 */
3
+ .wy-table-responsive table td , .wy-table-responsive table th {
4
+ /* !important prevents the common CSS stylesheets from
5
+ overriding this as on RTD they are loaded after this stylesheet */
6
+ white-space : normal !important ;
7
+ }
8
+
9
+ .wy-table-responsive {
10
+ overflow : visible !important ;
11
+ }
Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ def __getattr__(cls, name):
220
220
# Output file base name for HTML help builder.
221
221
htmlhelp_basename = 'PVLIB_Pythondoc'
222
222
223
+ # A workaround for the responsive tables always having annoying scrollbars.
224
+ def setup (app ):
225
+ app .add_stylesheet ("no_scrollbars.css" )
226
+
223
227
224
228
# -- Options for LaTeX output ---------------------------------------------
225
229
You can’t perform that action at this time.
0 commit comments