From patchwork Mon Oct 21 10:24:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 2206 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6E155613A0 for ; Mon, 21 Oct 2019 12:25:08 +0200 (CEST) Received: from pendragon.ideasonboard.com (143.121.2.93.rev.sfr.net [93.2.121.143]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1E22B540 for ; Mon, 21 Oct 2019 12:25:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1571653508; bh=ubpOSqDG9b05ErxaWKApFMVTMboV3WEXlFjLCqGR9YE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bFROm2S5phaGW9huhId/LW6Z8gtQb5qpXj4EyHEiNrc8/M5oRKk/QHZx37S6pcOQe O2vLhbSxTSKxcSTUEtHByJ0Lc8XVEAM+XOAM3bpQZo2UJvgrz03WuGjmGx9/55VQSg ua3NKrMSzbTVRMY6tnInDP4E4Z5K4j/7pww/CnxQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Oct 2019 13:24:53 +0300 Message-Id: <20191021102453.26471-8-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191021102453.26471-1-laurent.pinchart@ideasonboard.com> References: <20191021102453.26471-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 8/8] Documentation: theme: css: Really hide toc trees X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 10:25:09 -0000 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(-) 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; }