]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Change `max-height` to `height` in documentation sidebars (#24446)
authorGijs Boddeus <botje_gijs@hotmail.com>
Fri, 20 Oct 2017 07:12:38 +0000 (09:12 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 20 Oct 2017 07:12:38 +0000 (10:12 +0300)
If the content of the page does not extend the full viewport height, the sidebars were shortened.

assets/scss/_sidebar.scss

index fdf3ef242c87850617a2225f2e3d53a623d3717a..f4251f871fbdf79baa2102971254f75fde02ea5f 100644 (file)
@@ -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);
   }