diff --git a/app/assets/stylesheets/mixins/icons.scss b/app/assets/stylesheets/mixins/icons.scss index aced0dc28..e7cf32e2c 100644 --- a/app/assets/stylesheets/mixins/icons.scss +++ b/app/assets/stylesheets/mixins/icons.scss @@ -6,12 +6,14 @@ } %svg-icon { - background: currentcolor; - content: ""; - height: 1em; - mask-repeat: no-repeat; - mask-size: 100% 100%; - width: 1em; + @supports (mask-image: url()) { + background: currentcolor; + content: ""; + height: 1em; + mask-repeat: no-repeat; + mask-size: 100% 100%; + width: 1em; + } } %admin-menu-icon { @@ -37,11 +39,8 @@ } } - @supports (mask-image: url()) { - - &::#{$position} { - @extend %svg-icon; - mask-image: image-url("fontawesome/#{$style}/#{$icon}.svg"); - } + &::#{$position} { + @extend %svg-icon; + mask-image: image-url("fontawesome/#{$style}/#{$icon}.svg"); } }