We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.sr-only
1 parent eed1fcd commit 3017831Copy full SHA for 3017831
.changeset/spotty-bottles-jam.md
@@ -0,0 +1,5 @@
1
+---
2
+'@primer/css': patch
3
4
+
5
+Replace deprecated CSS properties in '.sr-only'
src/utilities/visibility-display.scss
@@ -99,9 +99,9 @@
99
height: 1px;
100
padding: 0;
101
overflow: hidden;
102
- clip: rect(0, 0, 0, 0);
+ clip-path: rect(0 0 0 0);
103
// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1241631
104
- word-wrap: normal;
+ overflow-wrap: normal;
105
border: 0;
106
}
107
0 commit comments