From 63ade7763536e0d94d22e7d67e3f78624da0bd4f Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 14 Jul 2017 11:28:39 -0700 Subject: [PATCH] docs: tweak css so a horizontal scroll bar shows up on the wide pinout tables. Fixes #166 --- docs/static/customstyle.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/static/customstyle.css b/docs/static/customstyle.css index 74eff4e051e6..6c964b762c3a 100644 --- a/docs/static/customstyle.css +++ b/docs/static/customstyle.css @@ -8,3 +8,19 @@ .admonition-difference-to-cpython .admonition-title { margin: 4px; } + + + +/* 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; + } +}