♻️(react) merge duplicated scss classes related to accessibility

'offscreen' and 'c__offscreen' were duplicated, merge these two classes
in a dedicated utils file.
This commit is contained in:
Lebaud Antoine
2023-10-13 21:23:09 +02:00
committed by aleb_the_flash
parent b714c3d543
commit d5fcf500b7
6 changed files with 16 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
.c__offscreen {
position: absolute;
width: 1px;
height: 1px !important;
padding: 0 !important;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0 !important;
}