diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-29 16:51:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-29 17:51:25 +0300 |
| commit | 7153c2c3bf602e4ce4b82f674ac6918ba85bfe3d (patch) | |
| tree | dbdab3907c6be692791c93bf2321739351d63dd1 | |
| parent | 9922ef5c1637610df45755f8e1db77b8397dbb9f (diff) | |
| download | bootstrap-7153c2c3bf602e4ce4b82f674ac6918ba85bfe3d.tar.xz bootstrap-7153c2c3bf602e4ce4b82f674ac6918ba85bfe3d.zip | |
`<pre>`: Disable auto-hiding scrollbar in legacy Edge (#30685)
Disable auto-hiding scrollbar in legacy Edge to avoid overlap, making it impossible to interact with the content.
| -rw-r--r-- | scss/_reboot.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 73b974b57..2563405a3 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -290,6 +290,8 @@ samp { // 1. Remove browser default top margin // 2. Reset browser default of `1em` to use `rem`s // 3. Don't allow content to break outside +// 4. Disable auto-hiding scrollbar in legacy Edge to avoid overlap, +// making it impossible to interact with the content pre { display: block; @@ -298,6 +300,7 @@ pre { overflow: auto; // 3 @include font-size($code-font-size); color: $pre-color; + -ms-overflow-style: scrollbar; // 4 // Account for some code outputs that place code tags in pre tags code { |
