Skip to content

Commit

Permalink
fix(Dialog): make action buttons responsive (#2373)
Browse files Browse the repository at this point in the history
* make dialog action buttons responsive
  • Loading branch information
joakbjerk authored and tujoworker committed May 31, 2023
1 parent a02a8fe commit 3e1f146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2292,12 +2292,11 @@ html[data-visual-test] .dnb-modal__overlay, .dnb-modal__overlay--no-animation {
.dnb-dialog__actions {
padding-top: 1.5rem;
display: flex;
flex-flow: row wrap;
justify-content: center;
gap: 1rem;
width: 100%;
}
.dnb-dialog__actions > :not(:last-child) {
margin-right: 1rem;
}
.dnb-dialog--information .dnb-dialog__actions {
justify-content: left;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,10 @@
padding-top: 1.5rem;

display: flex;
flex-flow: row wrap;
justify-content: center;
gap: 1rem;
width: 100%;

> :not(:last-child) {
margin-right: 1rem;
}
}

&--information &__actions {
Expand Down

0 comments on commit 3e1f146

Please sign in to comment.