From dc902a50223e334cc87a1014534f1fb13eb58fc1 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) --- .../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 bee289846d..1eaf1b7e4c 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; }