Skip to content

Commit f75f07e

Browse files
authored
fix(dropdown): icon not displaying on Safari (#766)
1 parent ad38926 commit f75f07e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/_patterns/00-base/icons/_icons.helpers.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
}
3232

3333
content: var(--icon-glyph-#{$position});
34-
// Hiding icon from screenreaders
35-
content: var(--icon-glyph-#{$position}) / ""; // https://www.w3.org/TR/css-content-3/#alt
34+
@supports (content: ""/"") {
35+
// Hiding icon from screenreaders
36+
content: var(--icon-glyph-#{$position}) / ""; // https://www.w3.org/TR/css-content-3/#alt
37+
}
3638

3739
@if $partial {
3840
display: inline-block;

0 commit comments

Comments
 (0)