From 9528efe5322f532503b416012beac0d8de107a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=A4schle?= Date: Thu, 17 Dec 2020 10:17:18 +0100 Subject: [PATCH] vdoc: fix sidebar scroll when reaching bottom (#7368) --- cmd/tools/vdoc-resources/doc.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/tools/vdoc-resources/doc.css b/cmd/tools/vdoc-resources/doc.css index c8c389eb78..2948f5a57a 100644 --- a/cmd/tools/vdoc-resources/doc.css +++ b/cmd/tools/vdoc-resources/doc.css @@ -65,6 +65,9 @@ --code-punctuation-text-color: #a0aec0; --code-symbol-text-color: #ed64a6; } +html { + height: 100%; +} body { margin: 0; font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; @@ -72,6 +75,10 @@ body { background-color: var(--background-color); color: #000; color: var(--text-color); + height: 100%; +} +#page { + height: 100%; overflow-y: scroll; }