From b21c822e50f36e4e57cd68cd616ec9edf9dc2de7 Mon Sep 17 00:00:00 2001 From: Gijs Boddeus Date: Fri, 20 Oct 2017 09:12:38 +0200 Subject: [PATCH] Change `max-height` to `height` in documentation sidebars (#24446) If the content of the page does not extend the full viewport height, the sidebars were shortened. --- assets/scss/_sidebar.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss index fdf3ef242c..f4251f871f 100644 --- a/assets/scss/_sidebar.scss +++ b/assets/scss/_sidebar.scss @@ -8,7 +8,7 @@ @supports (position: sticky) { position: sticky; top: 4rem; - max-height: calc(100vh - 4rem); + height: calc(100vh - 4rem); overflow-y: auto; } order: 2; @@ -59,7 +59,7 @@ position: sticky; top: 4rem; z-index: 1000; - max-height: calc(100vh - 4rem); + height: calc(100vh - 4rem); } border-right: 1px solid rgba(0,0,0,.1); }