mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Lower the specificity of vertical-align of SVG
This commit is contained in:
+7
-2
@@ -272,9 +272,14 @@ img {
|
|||||||
border-style: none; // Remove the border on images inside links in IE 10-.
|
border-style: none; // Remove the border on images inside links in IE 10-.
|
||||||
}
|
}
|
||||||
|
|
||||||
svg:not(:root) {
|
svg {
|
||||||
overflow: hidden; // Hide the overflow in IE
|
|
||||||
vertical-align: middle;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user