Skip to content

Commit 783b7c4

Browse files
tw15eganjoshblack
authored andcommitted
fix(accordion): update accordion breakpoints (#5074)
1 parent 0add8cc commit 783b7c4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/components/src/components/accordion/_accordion.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,17 @@
9898
// Transition property for when the accordion closes
9999
transition: padding motion(standard, productive) $duration--fast-02;
100100
padding-left: $carbon--spacing-05;
101-
padding-right: 25%;
101+
padding-right: $carbon--spacing-05;
102102

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

108+
@include carbon--breakpoint-up(640px) {
109+
padding-right: 25%;
110+
}
111+
107112
p {
108113
@include type-style('body-long-01');
109114
}

0 commit comments

Comments
 (0)