Skip to content

Commit

Permalink
fix(Accordion): update Accordion styles to match spec (#12148)
Browse files Browse the repository at this point in the history
* fix(Accordion): update Accordion styles to match spec

* fix(Accordion): revert background change

* style(Accordion): add padding-right to header

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Oct 6, 2022
1 parent e346d01 commit c1df02a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/styles/scss/components/accordion/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
// Size styles
.#{$prefix}--accordion--lg .#{$prefix}--accordion__heading {
min-height: convert.rem(48px);
align-items: center;
}

.#{$prefix}--accordion--sm .#{$prefix}--accordion__heading {
Expand Down Expand Up @@ -156,6 +157,7 @@ $content-padding: 0 0 0 $spacing-05 !default;

z-index: 1;
width: 100%;
padding-right: $spacing-05;
margin: $title-margin;
text-align: left;
}
Expand Down

0 comments on commit c1df02a

Please sign in to comment.