Skip to content

Commit

Permalink
fix sphinx_rtd_theme lines in tables wrapping
Browse files Browse the repository at this point in the history
* `sphinx_rtd_theme` known issue: long lines in tables do not wrap by default
  - readthedocs/sphinx_rtd_theme#117
  • Loading branch information
stevenjackson121 authored Oct 5, 2019
1 parent 1a09cf9 commit 87be3a4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/_static/hackrtd.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,17 @@ a.trio-help-hint, .trio-help-hint a:link, .trio-help-hint a:visited {
text-decoration: none;
border-bottom: 1px solid;
}

/* override table width restrictions */
@media screen and (min-width: 767px) {

.wy-table-responsive table td {
/* !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;
}
}

0 comments on commit 87be3a4

Please sign in to comment.