Skip to content

Commit

Permalink
fix(split-button): highlight menu's trigger when the menu is open
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiarokh authored and LucyChyzhova committed Oct 22, 2024
1 parent aa455f6 commit b177586
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/split-button/split-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ limel-menu {
}
}

&[aria-expanded]:not([aria-expanded='false']) {
box-shadow: var(--button-shadow-inset-pressed);
}

&:before {
// prevents unintentionally activating the default action,
// by clicking on the edge of menu trigger,
Expand Down

0 comments on commit b177586

Please sign in to comment.