1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02: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

View File

@@ -274,12 +274,9 @@ img {
svg { svg {
vertical-align: middle; vertical-align: middle;
// Workaround for the SVG overflow bug in IE10/11 is still required.
&:not(:root) { // See https://github.com/twbs/bootstrap/issues/26878
// Workaround for the SVG overflow bug in IE10/11 is still required. overflow: hidden;
// See https://github.com/twbs/bootstrap/issues/26878
overflow: hidden;
}
} }