CSR-262: fix missing focus outline on checked buttons

This commit is contained in:
Adam Caouette 2022-03-19 10:29:55 -04:00
parent 6a7fc87235
commit de44616680

View file

@ -209,15 +209,21 @@ export default {
} }
} }
&:checked + label {
background: $blue-100;
box-shadow: 0 0 0 1px $blue;
border-radius: 0.5rem;
}
&:focus + label { &:focus + label {
box-shadow: 0 0 0 2.5px $blue; box-shadow: 0 0 0 2.5px $blue;
border-radius: 0.5rem; border-radius: 0.5rem;
} }
&:checked + label { &:checked {
background: $blue-100; &:focus + label {
box-shadow: 0 0 0 1px $blue; box-shadow: 0 0 0 2.5px $blue;
border-radius: 0.5rem; }
} }
&:checked + label { &:checked + label {