From 29eed027bb4c5e2d637c62c0d0ecdd8f63301fcb Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 10 Oct 2022 20:23:18 +0200 Subject: [PATCH] fix(accordion): replaced height by paddings --- source/_patterns/02-components/accordion/accordion.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/_patterns/02-components/accordion/accordion.scss b/source/_patterns/02-components/accordion/accordion.scss index 7a5865ee02..12a4cd458c 100644 --- a/source/_patterns/02-components/accordion/accordion.scss +++ b/source/_patterns/02-components/accordion/accordion.scss @@ -10,7 +10,7 @@ summary { @include icon(glyph(chevron-right), 24, "outline", $partial: $partial); - height: to-rem($pxValue: 48); + padding-block: $db-spacing-sm; display: flex; align-items: center; // Negating the padding left for moving the element into that direction with the same measures @@ -74,7 +74,8 @@ )}; summary { - height: to-rem($pxValue: 40); + // ToDo: This needs to get replaced by the correct variable + padding-block: 0.59375rem; font-size: to-rem($pxValue: 14); &::before { @@ -91,7 +92,7 @@ )}; summary { - height: to-rem($pxValue: 64); + padding-block: $db-spacing-m; font-size: to-rem($pxValue: 20); &::before {