Skip to content

Commit

Permalink
attempting to create text wrapping in tables #1049
Browse files Browse the repository at this point in the history
  • Loading branch information
lisagoodrich committed Aug 5, 2021
1 parent ab74c06 commit eb646db
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/_templates/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Fix missing line-wrapping with Sphinx-RTD theme */
/* https://github.com/platformio/platformio-docs/issues/5 */

/* 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 eb646db

Please sign in to comment.