2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

Lower the specificity of vertical-align of SVG

This commit is contained in:
ysds
2018-07-20 12:21:19 +09:00
committed by Mark Otto
parent 3cfa06004e
commit d7acc977ef
+7 -2
View File
@@ -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;
}
}