From 0e054fb9c8c2de0575cd1d7a1ef5dc0e61023e51 Mon Sep 17 00:00:00 2001 From: Prateek Goel Date: Tue, 26 Sep 2017 20:44:00 +0100 Subject: [PATCH] Add style for non-overlapping scrollbar in IE (#24081) --- scss/_reboot.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 3b55c5756d..1922773b62 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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; }