mirror of
https://github.com/primer/css.git
synced 2024-11-22 01:53:17 +03:00
fix: Don’t use deprecated CSS properties in .sr-only
(#2710)
* fix: Don’t use deprecated CSS properties in '.sr-only' * chore: Add changeset
This commit is contained in:
parent
eed1fcdcb4
commit
3017831955
5
.changeset/spotty-bottles-jam.md
Normal file
5
.changeset/spotty-bottles-jam.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@primer/css': patch
|
||||
---
|
||||
|
||||
Replace deprecated CSS properties in '.sr-only'
|
@ -99,9 +99,9 @@
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
clip-path: rect(0 0 0 0);
|
||||
// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1241631
|
||||
word-wrap: normal;
|
||||
overflow-wrap: normal;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user