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 twbs#26878)
  • Loading branch information
ysds authored Jul 20, 2018
1 parent a48fae7 commit addc55d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
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 addc55d

Please sign in to comment.