Skip to content

Commit

Permalink
fix(multi-select): move filterable attribute out of scope for styles (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 authored Jun 27, 2023
1 parent d2468d2 commit 1c1cf35
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,12 @@ $css--plex: true !default;
outline: none;
}
}
}

&[filterable] {
.#{$prefix}--list-box__field:focus-within {
outline: 2px solid $focus;
outline-offset: -2px;
}
}
:host(#{$prefix}-multi-select[filterable])
.#{$prefix}--list-box__field:focus-within {
outline: 2px solid $focus;
outline-offset: -2px;
}

:host(#{$prefix}-multi-select[type='inline']) {
Expand Down Expand Up @@ -80,10 +79,10 @@ $css--plex: true !default;
flex-direction: row;
}
}
}

&[filtered] {
display: none;
}
:host(#{$prefix}-multi-select-item[filtered]) {
display: none;
}

:host(#{$prefix}-multi-select-item[size='sm']) {
Expand Down

0 comments on commit 1c1cf35

Please sign in to comment.