Skip to content

Commit

Permalink
Only show outline when navigating with the keyboard
Browse files Browse the repository at this point in the history
Signed-off-by: Marco <[email protected]>
  • Loading branch information
marcoambrosini committed Oct 31, 2023
1 parent b4e15f3 commit 74c6405
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,7 @@ export default {
}
&__input:focus-visible + &__content,
&__content:active,
&__input:focus-within + &__content {
&__input:focus-visible {
outline: 2px solid var(--color-main-text);
border-color: var(--color-main-background);
outline-offset: -2px;
Expand Down

0 comments on commit 74c6405

Please sign in to comment.