summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2017-07-14 11:28:39 -0700
committerScott Shawcroft <scott@chickadee.tech>2017-07-14 11:33:17 -0700
commit63ade7763536e0d94d22e7d67e3f78624da0bd4f (patch)
tree64c50d878b473f4b6be827569c8fb78ccb15bf58
parent34cc304fdabeee9cd512eba95b9200279e72cd54 (diff)
docs: tweak css so a horizontal scroll bar shows up on the wide pinout tables. Fixes #166
-rw-r--r--docs/static/customstyle.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/static/customstyle.css b/docs/static/customstyle.css
index 74eff4e05..6c964b762 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;
+ }
+}