From fa49860900e8c47e206559679f7f1d1d8ae37f09 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Tue, 11 Oct 2022 09:27:59 +0200 Subject: [PATCH] fix(accordion): replaced height by paddings (#80) --- 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 {