]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add style for non-overlapping scrollbar in IE (#24081)
authorPrateek Goel <prateekgoel@users.noreply.github.com>
Tue, 26 Sep 2017 19:44:00 +0000 (20:44 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 26 Sep 2017 19:44:00 +0000 (22:44 +0300)
scss/_reboot.scss

index 3b55c5756dabc05b8c61c8a5e14669d56d154f13..1922773b628fa99b50514f629432fe366a1fed25 100644 (file)
@@ -239,6 +239,9 @@ pre {
   margin-bottom: 1rem;
   // Don't allow content to break outside
   overflow: auto;
+  // We have @viewport set which causes scrollbars to overlap content in IE11 and Edge, so
+  // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
+  -ms-overflow-style: scrollbar;
 }