Skip to content

Commit

Permalink
fix(list-box): ensure size variants are in effect (#4928)
Browse files Browse the repository at this point in the history
This change ensures the style rule in `.bx--list-box--xl` for dropdown
size wins over one in `.bx--dropdown` by adding dropdown-specific size
class names in addition to list box ones.

Fixes #4916.
  • Loading branch information
asudoh authored Jan 15, 2020
1 parent d1d508f commit 0e4d6a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@

.#{$prefix}--dropdown--xl {
height: rem(48px);
max-height: rem(48px);
}

.#{$prefix}--dropdown--xl .#{$prefix}--dropdown__arrow {
Expand All @@ -75,6 +76,7 @@

.#{$prefix}--dropdown--sm {
height: rem(32px);
max-height: rem(32px);
}

.#{$prefix}--dropdown--sm .#{$prefix}--dropdown__arrow {
Expand Down

0 comments on commit 0e4d6a8

Please sign in to comment.