Skip to content

Commit

Permalink
prevent draggable card to get focused when using mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
leire committed Aug 1, 2023
1 parent 5432e57 commit e913871
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ $max-visible-card-items: 12;
background: $card-ghost-color;
color: $card-primary-color;
box-shadow: $shadow-500;
&:focus {
outline: none;
}
}
&.ghost-ticket {
background: $card-empty-color;
Expand All @@ -250,7 +253,7 @@ $max-visible-card-items: 12;
&:focus {
outline: 2px solid $card-primary-color;
}
&:not(:firt-of-type):focus:not(:focus-visible) {
&:focus:not(:focus-visible) {
outline: none;
}
&:hover {
Expand All @@ -265,7 +268,7 @@ $max-visible-card-items: 12;
&:focus {
outline: 2px solid palette(apricot);
}
&:not(:firt-of-type):focus:not(:focus-visible) {
&:focus:not(:focus-visible) {
outline: none;
}
}
Expand Down

0 comments on commit e913871

Please sign in to comment.