Updated the visually-hidden component.
This commit is contained in:
parent
23ca708c32
commit
0cd720bd5a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,10 +6,10 @@ Make an element visually hidden, but accessible to screen readers, etc. */
|
||||||
%visually-hidden {
|
%visually-hidden {
|
||||||
&:not(:focus, :active) {
|
&:not(:focus, :active) {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
clip: rect(0 0 0 0);
|
|
||||||
clip-path: inset(50%);
|
clip-path: inset(50%);
|
||||||
height: 1px;
|
height: 1px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue