From 5c94b5daf236502fba0dce554d5eaf4fb8777c93 Mon Sep 17 00:00:00 2001 From: scottb Date: Tue, 13 Feb 2018 15:21:10 -0800 Subject: [PATCH] Fixes broken nested tables in module docs (#36144) (cherry picked from commit dc902a50223e334cc87a1014534f1fb13eb58fc1) --- .../sphinx_rtd_theme/static/css/theme.css | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css b/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css index bee289846d4..1eaf1b7e4ce 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css +++ b/docs/docsite/_themes/sphinx_rtd_theme/static/css/theme.css @@ -422,6 +422,58 @@ table { } +.outer-elbow-container { + display: flex; + height: 100%; + flex-direction: row; +} + +.elbow-placeholder { + border-left: 1px solid #000; + height: 100%; + width: 30px; +} + +.elbow-key { + height: 100%; + padding: 4px; + border-top: 1px solid #000; + flex-grow: 1; + border-left: 1px solid #000; +} + +.elbow-blocker { + height: 0; + overflow: hidden; +} + +.return-value-column { + height: 1px +} + +.return-value-column td { + height: inherit +} + +@-moz-document url-prefix() { + .return-value-column td { + height: 100% + } +} + +.cell-border { + padding: 4px; + border-left: 1px solid #000; + border-top: 1px solid #000; + height: 100%; +} + +.documentation-table { + border-right: 1px solid #000; + border-bottom: 1px solid #000; +} + + @media print { * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }