Skip to content

Commit

Permalink
fix(Accordion): correctly set height when open prop is set (#15344)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Dec 11, 2023
1 parent 45840c1 commit b68d712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/styles/scss/components/accordion/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ $content-padding: 0 0 0 $spacing-05 !default;

.#{$prefix}--accordion__wrapper {
// Properties for when the accordion opens
max-block-size: fit-content;
opacity: 1;
padding-block: $spacing-03;
padding-block-end: $spacing-06;
Expand Down

0 comments on commit b68d712

Please sign in to comment.