0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Add style for non-overlapping scrollbar in IE (#24081)

This commit is contained in:
Prateek Goel 2017-09-26 20:44:00 +01:00 committed by XhmikosR
parent 0ee85c962e
commit 0e054fb9c8

View 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;
}