Skip to content

Commit

Permalink
refactor: simplification (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Jan 31, 2024
1 parent 3910012 commit 2003d6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/_patterns/00-base/icons/_icons.helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@

content: var(--icon-glyph-#{$position});
// Hiding icon from screenreaders
@supports (content: ""/"") {
content: var(--icon-glyph-#{$position}) / ""; // https://www.w3.org/TR/css-content-3/#alt
}
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 2003d6c

Please sign in to comment.