Skip to content

Commit

Permalink
Fix wide header rows
Browse files Browse the repository at this point in the history
  • Loading branch information
mengyujackson121 committed Oct 5, 2019
1 parent 87be3a4 commit 739c627
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/_static/hackrtd.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,17 @@ a.trio-help-hint, .trio-help-hint a:link, .trio-help-hint a:visited {
white-space: normal !important;
}

.wy-table-responsive table th {
/* This is a trio specific override since we have long header names compared to other projects who've had issues
with wide tables (allowing wrapping just in the cells isn't enough to shrink tables meaningfully).
*/
white-space: normal !important;
}

.wy-table-responsive {
/* This makes very wide tables look ugly and extend past their parent... Maybe allowing the scroll bar isn't so
bad in comparison (after the above 2 fixes).
*/
overflow: visible !important;
}
}

0 comments on commit 739c627

Please sign in to comment.