Skip to content

Commit

Permalink
fix(Checkbox): show outline on focus (#551)
Browse files Browse the repository at this point in the history
fix: show outline on focus
  • Loading branch information
ashjtan committed May 25, 2023
1 parent 4fe3bfe commit 20f661d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Checkbox/src/CheckboxControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,16 @@ export default {
background-color: $maker-color-background;
border: 1px solid var(--color-border);
border-radius: 4px;
outline: none;
cursor: inherit;
transition:
border 0.2s ease,
background-color 0.2s ease;
appearance: none;
&:not(:focus) {
outline: none;
}
&:invalid {
border-color: var(--color-error);
}
Expand Down

0 comments on commit 20f661d

Please sign in to comment.