Skip to content

Commit

Permalink
fix(FilterableMultiSelect): avoid absolute positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Dec 11, 2020
1 parent e60f1fa commit ccfc7c1
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

.#{$prefix}--multi-select--filterable {
.#{$prefix}--list-box__selection--multi {
position: absolute;
right: auto;
left: $carbon--spacing-03;
margin: 0 0 0 $spacing-05;
}
}

Expand All @@ -70,15 +68,6 @@
background-color: transparent;
border-bottom: 0;
}

.#{$prefix}--multi-select--selected .#{$prefix}--text-input {
// this value will need to change based on the number of digits in
// the number of items selected
//
// i.e. the input field needs adjusted padding to account for the width of
// the number in <ListBox.Selection>
padding-left: carbon--mini-units(7);
}
}

@include exports('multi-select') {
Expand Down

0 comments on commit ccfc7c1

Please sign in to comment.