Skip to content

Commit

Permalink
fix(select): add background when inline select is open (#10508)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Jan 25, 2022
1 parent d02f94d commit afed225
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/styles/scss/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@
color: $text-primary;
}

.#{$prefix}--select--inline .#{$prefix}--select-input:focus option,
.#{$prefix}--select--inline .#{$prefix}--select-input:focus optgroup {
background-color: $background;
}

.#{$prefix}--select--inline .#{$prefix}--select-input[disabled],
.#{$prefix}--select--inline .#{$prefix}--select-input[disabled]:hover {
background-color: $field-disabled;
Expand Down

0 comments on commit afed225

Please sign in to comment.