Skip to content

Commit

Permalink
fix(styles): add display property to listbox wrapper (#17954)
Browse files Browse the repository at this point in the history
* fix(styles): add display property to listbox wrapper

* chore: style lint fix

* Update packages/styles/scss/components/list-box/_list-box.scss

---------

Co-authored-by: Alison Joseph <alisonejoseph@Gmail.com>
Co-authored-by: Nikhil Tomar <63502271+2nikhiltom@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent 126c4ed commit 5cf7bff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/styles/scss/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ $list-box-menu-width: convert.to-rem(300px);
@mixin list-box {
// The overall container element for a `list-box`. Has two variants,
// `disabled` and `inline`.
.#{$prefix}--list-box__wrapper {
display: block;
}

.#{$prefix}--list-box__wrapper--inline {
display: inline-grid;
align-items: center;
Expand Down

0 comments on commit 5cf7bff

Please sign in to comment.