Skip to content

Commit

Permalink
Workaround to make tables wrap
Browse files Browse the repository at this point in the history
This does not happen by default in sphinx-rtd-theme.

Solution copied from
OpenShot/openshot-qt#1272
  • Loading branch information
johnomotani committed Jan 12, 2023
1 parent 41d11f5 commit 4a69486
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,17 @@
p {
margin: 15px 0
}


/* fixes for table width, copying https://github.com/OpenShot/openshot-qt/pull/1272 */
/* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}

.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: visible;
}
/* end fixes for table width */

0 comments on commit 4a69486

Please sign in to comment.