Skip to content

Commit

Permalink
fix(list-box): reset multiselect selection count position (#5405)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored Feb 24, 2020
1 parent 75acb17 commit a0bc366
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ $list-box-menu-width: rem(300px);
.#{$prefix}--list-box__selection {
position: absolute;
right: rem(33px); // to preserve .5rem space between icons according to spec
// top/transform used to center invalid icon in IE11
// top/transform used to center the combobox clear selection icon in IE11
top: 50%;
transform: translateY(-50%);
display: flex;
Expand All @@ -360,6 +360,12 @@ $list-box-menu-width: rem(300px);
}
}

// reset multiselect selection counter positioning
.#{$prefix}--list-box__selection--multi {
top: auto;
transform: none;
}

.#{$prefix}--list-box__selection > svg {
fill: $icon-02;
}
Expand Down

0 comments on commit a0bc366

Please sign in to comment.