From: Gijs Boddeus Date: Fri, 20 Oct 2017 07:12:38 +0000 (+0200) Subject: Change `max-height` to `height` in documentation sidebars (#24446) X-Git-Tag: v4.0.0-beta.3~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21c822e50f36e4e57cd68cd616ec9edf9dc2de7;p=thirdparty%2Fbootstrap.git 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. --- 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); }