Skip to content

Commit

Permalink
fix(accordion-item): split header content padding (#10865)
Browse files Browse the repository at this point in the history
**Related Issue:** #10762

## Summary

Splits header and content padding rules so the token doesn't apply to
header
  • Loading branch information
alisonailea authored Dec 12, 2024
1 parent 3b7c028 commit e9e307c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@
);
}

.header-content,
.header-content {
padding: var(
--calcite-internal-accordion-item-padding,
var(--calcite-internal-accordion-item-spacing-unit, theme("spacing.2") 0.75rem)
);
}

.content {
padding: var(
--calcite-accordion-item-content-space,
Expand Down

0 comments on commit e9e307c

Please sign in to comment.