Skip to content

Commit

Permalink
fix(Form.ButtonRow): add support for auto top spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 26, 2024
1 parent 632574b commit 737e170
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
column-gap: var(--spacing-small);

.dnb-card + & {
&:not([class*='space__left']) {
@include allAbove(small) {
&:not([class*='space__top']) {
margin-top: var(--spacing-medium);
}

@include allAbove(small) {
&:not([class*='space__left']) {
margin-left: var(--spacing-medium);
}
}
Expand Down

0 comments on commit 737e170

Please sign in to comment.