]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move the overflow-y to the sticky `@supports` block
authorMark Otto <markd.otto@gmail.com>
Tue, 4 Jul 2017 18:57:35 +0000 (11:57 -0700)
committerMark Otto <markd.otto@gmail.com>
Tue, 4 Jul 2017 20:49:15 +0000 (13:49 -0700)
also remove the overflow-x. when you specify either overflow-y or overflow-x, the other is essentially nullified and thus ineffective anyway

assets/scss/_sidebar.scss

index 8e10f376447f6598939043d10790936be6b6b81f..b9acf308b0d7e7f43eafda6a222b9a9882a56eef 100644 (file)
@@ -9,12 +9,11 @@
     position: sticky;
     top: 4rem;
     max-height: calc(100vh - 4rem);
+    overflow-y: auto;
   }
   order: 2;
   padding-top: 1.5rem;
   padding-bottom: 1.5rem;
-  overflow-x: visible;
-  overflow-y: auto;
   font-size: .875rem;
 }