Skip to content

Commit

Permalink
fix(dropdown): icon not displaying on Safari (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Feb 28, 2024
1 parent ad38926 commit f75f07e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/_patterns/00-base/icons/_icons.helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
}

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

@if $partial {
display: inline-block;
Expand Down

0 comments on commit f75f07e

Please sign in to comment.