Fix radio button focus
This commit is contained in:
parent
15bed364fb
commit
3d72491874
|
@ -75,7 +75,7 @@
|
|||
cursor: pointer;
|
||||
padding: 0.5rem 2rem 0.5rem 1rem;
|
||||
|
||||
&:focus + span {
|
||||
&:focus-visible + span {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: -2px;
|
||||
|
|
|
@ -57,6 +57,10 @@
|
|||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
[type=radio]:focus-visible + label::before {
|
||||
outline: 2px solid $main-font-color;
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue