Skip to content

Commit

Permalink
fix(dropdown): ensure inline dropdown has light variant (#5322)
Browse files Browse the repository at this point in the history
* fix(dropdown): ensure inline dropdown has light variant

* fix(dropdown): inline variant has transparent background

Co-authored-by: Josh Black <josh@josh.black>
  • Loading branch information
tw15egan and joshblack committed Feb 18, 2020
1 parent e90064b commit ee32294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,15 @@
border-bottom-color: transparent;
width: auto;
height: rem(32px);
background-color: $ui-background;
background-color: transparent;
transition: background $duration--fast-01 motion(entrance, productive);

&:hover {
background-color: $hover-ui;
}

&.#{$prefix}--dropdown--disabled {
background-color: $ui-background;
background-color: transparent;
}

.#{$prefix}--dropdown__arrow {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ $list-box-menu-width: rem(300px);

// Inline variant for a `list-box`
.#{$prefix}--list-box.#{$prefix}--list-box--inline {
background-color: $ui-background;
background-color: transparent;
border-width: 0;

&:hover {
Expand Down

0 comments on commit ee32294

Please sign in to comment.