Skip to content

Commit

Permalink
fix(inline-dropdown): remove unnecessary column with props.hideLabel (#…
Browse files Browse the repository at this point in the history
…18014)

* fix(inline-dropdown): remove unnecessary column with props.hideLabel

* chore(prettier): format code

---------

Co-authored-by: Kenny Lam <[email protected]>
  • Loading branch information
janhassel and kennylam authored Nov 15, 2024
1 parent bda9d1e commit 07a60ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/styles/scss/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
grid-gap: 0 convert.to-rem(24px);
grid-template: auto / auto min-content;

&:has(.#{$prefix}--label.#{$prefix}--visually-hidden) {
grid-template: auto / auto;
}

.#{$prefix}--label {
@include type-style('body-compact-01');
}
Expand Down

0 comments on commit 07a60ca

Please sign in to comment.