1
1
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:
Clay Miller 2024-09-24 10:00:51 -07:00 committed by GitHub
parent eed1fcdcb4
commit 3017831955
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
'@primer/css': patch
---
Replace deprecated CSS properties in '.sr-only'

View File

@ -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;
}