diff options
| author | ysds <[email protected]> | 2018-07-20 23:26:23 +0900 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-07-20 18:28:09 -0500 |
| commit | 900775483ff0d5aa79e497fbfee89858da467cf4 (patch) | |
| tree | 822adc25272e933ebe9fe6750b00c3bbb8916390 | |
| parent | d7acc977efc1a80e6d2273a294c0f0c78d5661d0 (diff) | |
| download | bootstrap-900775483ff0d5aa79e497fbfee89858da467cf4.tar.xz bootstrap-900775483ff0d5aa79e497fbfee89858da467cf4.zip | |
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)
| -rw-r--r-- | scss/_reboot.scss | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 656017df4..9ed8be772 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -274,12 +274,9 @@ img { svg { vertical-align: middle; - - &:not(:root) { - // Workaround for the SVG overflow bug in IE10/11 is still required. - // See https://github.com/twbs/bootstrap/issues/26878 - overflow: hidden; - } + // Workaround for the SVG overflow bug in IE10/11 is still required. + // See https://github.com/twbs/bootstrap/issues/26878 + overflow: hidden; } |
