diff --git a/docs/_templates/theme_overrides.css b/docs/_templates/theme_overrides.css new file mode 100644 index 0000000000..ab16bba14c --- /dev/null +++ b/docs/_templates/theme_overrides.css @@ -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; + } +} \ No newline at end of file