[libcamera-devel] [PATCH 8/8] Documentation: theme: css: Really hide toc trees

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Oct 21 12:24:53 CEST 2019


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 <laurent.pinchart at ideasonboard.com>
---
 Documentation/theme/static/css/theme.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/theme/static/css/theme.css b/Documentation/theme/static/css/theme.css
index 60f3510d88fa..a4934edeeb8f 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;
 }
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list