2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Remove :not(:root) from the workaround for SVG overflow bug

* `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718)
* Bootstrap do not support SVG documents (See #26878)
This commit is contained in:
ysds
2018-07-20 23:26:23 +09:00
committed by Mark Otto
parent d7acc977ef
commit 900775483f
-3
View File
@@ -274,13 +274,10 @@ img {
svg { svg {
vertical-align: middle; vertical-align: middle;
&:not(:root) {
// Workaround for the SVG overflow bug in IE10/11 is still required. // Workaround for the SVG overflow bug in IE10/11 is still required.
// See https://github.com/twbs/bootstrap/issues/26878 // See https://github.com/twbs/bootstrap/issues/26878
overflow: hidden; overflow: hidden;
} }
}
// //