fix: fix sr-only text
This commit is contained in:
parent
dc1c02818c
commit
cfa3343844
1 changed files with 19 additions and 5 deletions
|
@ -1,8 +1,22 @@
|
||||||
.screen-reader-text, .sr-only {
|
.sr-only {
|
||||||
visibility: collapse;
|
|
||||||
font-size:0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:-2000px;
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
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 {
|
||||||
|
|
Reference in a new issue