From 568d42ccf20eb49c7aede9471f5cb45f7df57e1d Mon Sep 17 00:00:00 2001 From: nicosammito Date: Mon, 18 Dec 2023 08:00:23 +0100 Subject: [PATCH] possible fix to the margin-bottom problem inside the ButtonGroup --- src/components/button-group/ButtonGroup.style.scss | 3 ++- src/components/dropdown/Dropdown.style.scss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/button-group/ButtonGroup.style.scss b/src/components/button-group/ButtonGroup.style.scss index 342ceb9..6c9b2ef 100644 --- a/src/components/button-group/ButtonGroup.style.scss +++ b/src/components/button-group/ButtonGroup.style.scss @@ -6,7 +6,7 @@ border: none; width: fit-content; position: relative; - margin-bottom: 1rem; + margin-bottom: 1rem !important; display: flex; flex-flow: row wrap; @@ -22,6 +22,7 @@ > div, .dropdown__trigger, .dropdown { display: flex; + margin-bottom: 0 !important; } &__first { diff --git a/src/components/dropdown/Dropdown.style.scss b/src/components/dropdown/Dropdown.style.scss index 26aa1fb..dfb22a0 100644 --- a/src/components/dropdown/Dropdown.style.scss +++ b/src/components/dropdown/Dropdown.style.scss @@ -5,7 +5,7 @@ $color: $secondary; position: relative; - margin-bottom: 1rem; + margin-bottom: 1rem !important; width: fit-content; &__trigger {