From fb93dae7d3d3c7099b46e0a801e6bd1c4dc0366c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 19 Oct 2019 06:05:49 +0300 Subject: Documentation: theme: css: Really hide toc trees The toc trees are rendered as hidden but still take space due to their margin and padding. Really hide them. While at it, don't handle overflow with scrollbars in the content area, the whole page should be scrollable. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- Documentation/theme/static/css/theme.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/theme/static/css/theme.css b/Documentation/theme/static/css/theme.css index 60f3510d..a4934ede 100644 --- a/Documentation/theme/static/css/theme.css +++ b/Documentation/theme/static/css/theme.css @@ -204,7 +204,6 @@ div#content { padding-bottom: 50px; margin-left: 0px; margin-right: 0px; - overflow: auto; } div#content > div.block { @@ -283,5 +282,8 @@ div#signature { } #libcamera div.toctree-wrapper { + height: 0px; + margin: 0px; + padding: 0px; visibility: hidden; } -- cgit v1.2.1