Skip to content

Commit

Permalink
fix: set the hover and focus color on dropdown item (#1960)
Browse files Browse the repository at this point in the history
This fix ensures that the color of the text on the dropdown item is set whenever you hover or focus anywhere on the dropdown item.

Closes #1950
  • Loading branch information
musale committed Nov 29, 2022
1 parent 22b204a commit 39774a0
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,15 @@ mgt-people-picker .root {
border-radius: 4px;
&:hover {
background-color: $dropdown-item__background-color--hover;
.people-person-text-area {
color: $dropdown-item__text__color--hover;
}
}
&.focused {
background-color: $dropdown-item__background-color--hover;
.people-person-text-area {
color: $dropdown-item__text__color--hover;
}
}
.people-person-text-area {
margin-left: 13px;
Expand All @@ -128,14 +134,6 @@ mgt-people-picker .root {
overflow: hidden;
color: $dropdown-item__text__color;

&:hover {
color: $dropdown-item__text__color--hover;
}

&.focused {
color: $dropdown-item__text__color--hover;
}

.people-person-text {
font-size: 14px;
font-weight: normal;
Expand Down

0 comments on commit 39774a0

Please sign in to comment.