Skip to content

Commit

Permalink
possible fix to the margin-bottom problem inside the ButtonGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosammito committed Dec 18, 2023
1 parent d29c9cf commit 568d42c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/button-group/ButtonGroup.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
border: none;
width: fit-content;
position: relative;
margin-bottom: 1rem;
margin-bottom: 1rem !important;
display: flex;
flex-flow: row wrap;

Expand All @@ -22,6 +22,7 @@

> div, .dropdown__trigger, .dropdown {
display: flex;
margin-bottom: 0 !important;
}

&__first {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$color: $secondary;

position: relative;
margin-bottom: 1rem;
margin-bottom: 1rem !important;
width: fit-content;

&__trigger {
Expand Down

0 comments on commit 568d42c

Please sign in to comment.