fix(accordion): update arrow spacing for start variant
MODIFY
packages/components/src/components/accordion/_accordion.scss
packages/components/src/components/accordion/_accordion.scss
.#{$prefix}--accordion--start .#{$prefix}--accordion__arrow {
// Alters `$accordion-arrow-margin` token:
- margin: 2px 0 0 $carbon--spacing-03;
+ margin: 2px 0 0 $carbon--spacing-05;
+ }
+
+ .#{$prefix}--accordion--start .#{$prefix}--accordion__title {
+ margin-right: $carbon--spacing-05;
}
.#{$prefix}--accordion--start .#{$prefix}--accordion__content {
- margin-left: $carbon--spacing-06;
+ margin-left: $carbon--spacing-07;
}
.#{$prefix}--accordion__item--collapsing .#{$prefix}--accordion__content,

MODIFY
packages/styles/scss/components/accordion/_accordion.scss
packages/styles/scss/components/accordion/_accordion.scss
@@ -183,11 +183,15 @@ $content-padding: 0 0 0 $spacing-05 !default;
.#{$prefix}--accordion--start .#{$prefix}--accordion__arrow {
// Alters `$arrow-margin` token:
- margin: 2px 0 0 $spacing-03;
+ margin: 2px 0 0 $spacing-05;
+ }
+
+ .#{$prefix}--accordion--start .#{$prefix}--accordion__title {
+ margin-right: $spacing-05;
}
.#{$prefix}--accordion--start .#{$prefix}--accordion__content {
- margin-left: $spacing-06;
+ margin-left: $spacing-07;
}
.#{$prefix}--accordion__item--collapsing .#{$prefix}--accordion__content,

fix(accordion): update arrow spacing for start variant (#9777)

Co-authored-by: Josefina Mancilla <32556167+jnm2377@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>