Skip to content

Commit 36e28af

Browse files
emyarodtay1orjones
andauthored
fix(list-box): update hover active item background color (#7832)
* fix(list-box): update hover active item background color * fix(list-box): update active highlighted styles for keyboard controls Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
1 parent e4bb101 commit 36e28af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/components/src/components/list-box/_list-box.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,10 @@ $list-box-menu-width: rem(300px);
749749
border-bottom-color: $selected-light-ui;
750750
}
751751

752-
.#{$prefix}--list-box__menu-item--active:hover {
753-
background-color: $hover-ui;
754-
border-bottom-color: $hover-ui;
752+
.#{$prefix}--list-box__menu-item--active:hover,
753+
.#{$prefix}--list-box__menu-item--active.#{$prefix}--list-box__menu-item--highlighted {
754+
background-color: $hover-selected-ui;
755+
border-bottom-color: $hover-selected-ui;
755756
}
756757

757758
.#{$prefix}--list-box__menu-item--active

0 commit comments

Comments
 (0)