From: ysds Date: Fri, 20 Jul 2018 03:21:19 +0000 (+0900) Subject: Lower the specificity of vertical-align of SVG X-Git-Tag: v4.1.3~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7acc977efc1a80e6d2273a294c0f0c78d5661d0;p=thirdparty%2Fbootstrap.git Lower the specificity of vertical-align of SVG --- diff --git a/scss/_reboot.scss b/scss/_reboot.scss index d7bab8d6f4..656017df41 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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; + } }