From 6a370f73ee46073c5671b61778981517bfbceaf9 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Mon, 5 Oct 2020 07:39:50 -0700 Subject: [PATCH] Fix table width issue Signed-off-by: Ry Jones (cherry picked from commit e904f0ec8bb6dd1bbd1c77e433f787179570feb5) --- docs/source/_static/css/custom.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index aec73a80f9f..0f6607d9ad5 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -177,7 +177,6 @@ a:visited { background-color: #d9e5ef } - /* Mobile view */ .wy-nav-top { @@ -192,3 +191,15 @@ a:visited { background-position: center top; background-origin: content box; } + +/* Fix tables */ + +.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; +}