fix: fix sr-only text

This commit is contained in:
Kazhnuz Klappsthul 2023-11-18 10:54:49 +01:00
parent dc1c02818c
commit cfa3343844
1 changed files with 19 additions and 5 deletions

View File

@ -1,8 +1,22 @@
.screen-reader-text, .sr-only { .sr-only {
visibility: collapse; position: absolute;
font-size:0; width: 1px;
position:absolute; height: 1px;
top:-2000px; padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
} }
.skip { .skip {