]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Lower the specificity of vertical-align of SVG
authorysds <ysds.code@gmail.com>
Fri, 20 Jul 2018 03:21:19 +0000 (12:21 +0900)
committerMark Otto <otto@github.com>
Fri, 20 Jul 2018 23:28:09 +0000 (18:28 -0500)
scss/_reboot.scss

index d7bab8d6f48a799ddff39cfe9b7daeccfb54bb28..656017df41fad405a4b0f632be6a16033cb89270 100644 (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;
+  }
 }