From 32e76bec0905f4b1fa296b2def7c32710f64f503 Mon Sep 17 00:00:00 2001 From: Ali Stump Date: Mon, 25 Nov 2024 10:37:04 -0800 Subject: [PATCH] fix(accordion-item): split header and content padding --- .../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,