Skip to content

Commit 9da7a40

Browse files
authored
refactor(icons): enabled Firefox lower version 128 support again (#4094)
* refactor(icons): enabled firefox lower version 128 support again * Update _icon-helpers.scss
1 parent e45fbab commit 9da7a40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/foundations/scss/icons/_icon-helpers.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
4545
@mixin icon-content($icon) {
4646
content: $icon;
4747
// Hiding icon from screenreaders, https://www.w3.org/TR/css-content-3/#alt
48-
content: $icon / "";
48+
// TODO: remove the @support wrapper as soon as we drop our partly-support for Firefox < version 128 (Enterprise ESR / Extended Support Release; expected to end in 2025, September / https://whattrainisitnow.com/calendar/)
49+
@supports (content: ""/"") {
50+
content: $icon / "";
51+
}
4952
}
5053

5154
@mixin to-filled-icon() {

0 commit comments

Comments
 (0)