From 900775483ff0d5aa79e497fbfee89858da467cf4 Mon Sep 17 00:00:00 2001 From: ysds <ysds.code@gmail.com> Date: Fri, 20 Jul 2018 23:26:23 +0900 Subject: [PATCH] Remove `:not(:root)` from the workaround for SVG overflow bug * `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718) * Bootstrap do not support SVG documents (See #26878) --- scss/_reboot.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 656017df41..9ed8be7720 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -274,12 +274,9 @@ img { 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; - } + // Workaround for the SVG overflow bug in IE10/11 is still required. + // See https://github.com/twbs/bootstrap/issues/26878 + overflow: hidden; } -- GitLab