Skip to content

Commit

Permalink
Lower the specificity of vertical-align of SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and mdo committed Jul 20, 2018
1 parent 3cfa060 commit d7acc97
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,14 @@ img {
border-style: none; // Remove the border on images inside links in IE 10-.
}

svg:not(:root) {
overflow: hidden; // Hide the overflow in IE
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;
}
}


Expand Down

0 comments on commit d7acc97

Please sign in to comment.