Skip to content

Commit

Permalink
fix(accordion): update accordion breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jan 16, 2020
1 parent a9f74a0 commit 1c7eb59
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
@media (min-width: 480px) {
padding-right: $carbon--spacing-09;
}

@media (min-width: 640px) {
padding-right: 25%;
}

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

0 comments on commit 1c7eb59

Please sign in to comment.