File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
source/_patterns/00-base/icons Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 31
31
}
32
32
33
33
content : var (--icon-glyph - #{$position } );
34
+ // Hiding icon from screenreaders
35
+ @supports (content : " " / " " ) {
36
+ content : var (--icon-glyph - #{$position } ) / " " ; // https://www.w3.org/TR/css-content-3/#alt
37
+ }
34
38
35
39
@if $partial {
36
40
display : inline-block ;
53
57
/* stylelint-enable */
54
58
55
59
// Hiding icon from screenreaders
56
- @supports (content : " " / " " ) {
57
- content : var (--icon-glyph ) / " " ; // https://www.w3.org/TR/css-content-3/#alt
58
- }
59
60
/* stylelint-disable */
60
61
-webkit-alt : " " ;
61
62
/* stylelint-enable */
Original file line number Diff line number Diff line change 3
3
-webkit-alt : " " ;
4
4
alt : " " ;
5
5
6
- content : var (--icon-glyph );
7
-
8
6
display : inline-block ;
9
7
/* ** icon - placeholder ***/
10
8
// * use !important to prevent issues with browser extensions that change fonts
26
24
vertical-align : middle ;
27
25
28
26
// Hiding icon from screenreaders
29
- @supports (content : " " / " " ) {
30
- content : var (--icon-glyph ) / " " ; // https://www.w3.org/TR/css-content-3/#alt
31
- }
32
27
@media aural {
33
28
content : none ;
34
29
}
You can’t perform that action at this time.
0 commit comments