0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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

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;
}
}