Lower the specificity of vertical-align of SVG
This commit is contained in:
parent
3cfa06004e
commit
d7acc977ef
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue