diff --git a/packages/components/src/components/multi-select/_multi-select.scss b/packages/components/src/components/multi-select/_multi-select.scss index 8d2fae906fcc..a624625db62f 100644 --- a/packages/components/src/components/multi-select/_multi-select.scss +++ b/packages/components/src/components/multi-select/_multi-select.scss @@ -56,11 +56,22 @@ color: $text-01; } + .#{$prefix}--multi-select--filterable .#{$prefix}--text-input { + padding-left: $spacing-03; + } + + .#{$prefix}--multi-select--filterable:hover .#{$prefix}--text-input { + background-color: $hover-ui; + } + + .#{$prefix}--multi-select--filterable.#{$prefix}--list-box--disabled:hover + .#{$prefix}--text-input { + background-color: $field-01; + } + .#{$prefix}--multi-select--filterable { .#{$prefix}--list-box__selection--multi { - position: absolute; - right: auto; - left: $carbon--spacing-03; + margin: 0 0 0 $spacing-05; } } @@ -70,15 +81,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 - padding-left: carbon--mini-units(7); - } } @include exports('multi-select') {