From d7acc977efc1a80e6d2273a294c0f0c78d5661d0 Mon Sep 17 00:00:00 2001 From: ysds <ysds.code@gmail.com> Date: Fri, 20 Jul 2018 12:21:19 +0900 Subject: [PATCH] Lower the specificity of vertical-align of SVG --- scss/_reboot.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; + } } -- GitLab