Skip to content

Commit

Permalink
fix(accordion): update accordion breakpoints (#5074)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored and asudoh committed Jan 16, 2020
1 parent ead363d commit a69e40c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/components/src/components/accordion/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,17 @@
// Transition property for when the accordion closes
transition: padding motion(standard, productive) $duration--fast-02;
padding-left: $carbon--spacing-05;
padding-right: 25%;
padding-right: $carbon--spacing-05;

@include carbon--breakpoint-down('md') {
// Custom breakpoints based on issue #4993
@include carbon--breakpoint-up(480px) {
padding-right: $carbon--spacing-09;
}

@include carbon--breakpoint-up(640px) {
padding-right: 25%;
}

p {
@include type-style('body-long-01');
}
Expand Down

0 comments on commit a69e40c

Please sign in to comment.