Skip to content

Commit

Permalink
fix(list-box): update hover active item background color (#7832)
Browse files Browse the repository at this point in the history
* fix(list-box): update hover active item background color

* fix(list-box): update active highlighted styles for keyboard controls

Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
emyarod and tay1orjones authored Feb 23, 2021
1 parent e4bb101 commit 36e28af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,10 @@ $list-box-menu-width: rem(300px);
border-bottom-color: $selected-light-ui;
}

.#{$prefix}--list-box__menu-item--active:hover {
background-color: $hover-ui;
border-bottom-color: $hover-ui;
.#{$prefix}--list-box__menu-item--active:hover,
.#{$prefix}--list-box__menu-item--active.#{$prefix}--list-box__menu-item--highlighted {
background-color: $hover-selected-ui;
border-bottom-color: $hover-selected-ui;
}

.#{$prefix}--list-box__menu-item--active
Expand Down

0 comments on commit 36e28af

Please sign in to comment.