diff options
| author | ysds <[email protected]> | 2018-07-20 12:21:19 +0900 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-07-20 18:28:09 -0500 |
| commit | d7acc977efc1a80e6d2273a294c0f0c78d5661d0 (patch) | |
| tree | ea99845f6638c765eb5e7d9e7456207773c59da2 | |
| parent | 3cfa06004e9dd4e6c94eae3059521dc6f2fd7862 (diff) | |
| download | bootstrap-d7acc977efc1a80e6d2273a294c0f0c78d5661d0.tar.xz bootstrap-d7acc977efc1a80e6d2273a294c0f0c78d5661d0.zip | |
Lower the specificity of vertical-align of SVG
| -rw-r--r-- | scss/_reboot.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index d7bab8d6f..656017df4 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; + } } |
