Skip to content

Commit

Permalink
Remove :not(:root) from the workaround for SVG overflow bug
Browse files Browse the repository at this point in the history
* `svg:not(:root)` specificity is very high (necolas/normalize.css#718)
* Bootstrap do not support SVG documents (See #26878)
  • Loading branch information
ysds authored and mdo committed Jul 20, 2018
1 parent d7acc97 commit 9007754
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scss/_reboot.scss
Expand Up @@ -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;
}


Expand Down

0 comments on commit 9007754

Please sign in to comment.