Skip to content

Commit

Permalink
turn off scroll bars
Browse files Browse the repository at this point in the history
  • Loading branch information
wholmgren committed Apr 21, 2016
1 parent 4939d78 commit 8e5fefd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/sphinx/source/_static/no_scrollbars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* override table width restrictions */
/* as described in https://github.com/snide/sphinx_rtd_theme/issues/117 */
.wy-table-responsive table td, .wy-table-responsive table th {
/* !important prevents the common CSS stylesheets from
overriding this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
}
4 changes: 4 additions & 0 deletions docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ def __getattr__(cls, name):
# Output file base name for HTML help builder.
htmlhelp_basename = 'PVLIB_Pythondoc'

# A workaround for the responsive tables always having annoying scrollbars.
def setup(app):
app.add_stylesheet("no_scrollbars.css")


# -- Options for LaTeX output ---------------------------------------------

Expand Down

0 comments on commit 8e5fefd

Please sign in to comment.