From e9e307ce83396dbf53402538fd75c02200625fe5 Mon Sep 17 00:00:00 2001 From: Ali Stump Date: Thu, 12 Dec 2024 09:33:56 -0800 Subject: [PATCH] fix(accordion-item): split header content padding (#10865) **Related Issue:** #10762 ## Summary Splits header and content padding rules so the token doesn't apply to header --- .../src/components/accordion-item/accordion-item.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/accordion-item/accordion-item.scss b/packages/calcite-components/src/components/accordion-item/accordion-item.scss index 03949b2cc66..71b7e52ff10 100644 --- a/packages/calcite-components/src/components/accordion-item/accordion-item.scss +++ b/packages/calcite-components/src/components/accordion-item/accordion-item.scss @@ -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,