1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

Remove now unnecessary -ms-viewport and -ms-overflow-style directives (#27789)

Edge/Mobile appears to have moved support for `-ms-viewport` behind a flag at some point, instead supporting meta viewport directives.
Removing this altogether also fixes issues in IE11 on high-dpi displays - see https://github.com/twbs/bootstrap/issues/21780
This commit is contained in:
Patrick H. Lauke
2018-12-12 19:24:47 +00:00
committed by XhmikosR
parent 180a06eeb7
commit f3fc973dd9
3 changed files with 2 additions and 29 deletions

View File

@@ -5,10 +5,6 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@at-root {
@-ms-viewport { width: device-width; } // stylelint-disable-line at-rule-no-vendor-prefix
}
html {
box-sizing: border-box;
-ms-overflow-style: scrollbar;