]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
follow up to 4bab8b890e5337cda3a3221462ab40a84d96c3b4 to avoid the max-height if...
authorMark Otto <markdotto@gmail.com>
Sun, 18 Jun 2017 05:29:54 +0000 (22:29 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 18 Jun 2017 05:29:54 +0000 (22:29 -0700)
assets/scss/_sidebar.scss

index b8f311f209219bd1015d0c88457bfefbb7ecc2ac..ebcc23c449f56eb918d61f67671b77360260d178 100644 (file)
   margin-left: -15px;
 
   @include media-breakpoint-up(md) {
-    max-height: calc(100vh - 9rem);
-    overflow-y: auto;
+    @supports (position: sticky) {
+      max-height: calc(100vh - 9rem);
+      overflow-y: auto;
+    }
   }
 
   // Override collapse behaviors