Skip to content

Commit

Permalink
fix(dropdown): add outline on hover of menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
mivaylo committed Nov 11, 2024
1 parent aeec806 commit ba6f59e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/angular/src/popover/dropdown/_dropdown.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@

@extend %dropdown-content;

&:hover {
outline-offset: calc(-3 * tokens.$cds-global-space-1);
outline: tokens.$cds-global-space-2 solid tokens.$cds-global-color-black;
border-radius: calc(tokens.$cds-global-space-3 + tokens.$cds-global-space-1);
}

&.expandable {
padding-right: tokens.$cds-global-space-5;

Expand Down

0 comments on commit ba6f59e

Please sign in to comment.