Skip to content

Commit

Permalink
fix(modal): set half width single button modals
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Mar 2, 2020
1 parent 5d8392d commit 4f2cb5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@

.#{$prefix}--modal-footer {
display: flex;
justify-content: flex-end;
margin-top: auto;
height: 4rem;
background-color: $modal-footer-background-color;
Expand All @@ -301,7 +302,7 @@

button.#{$prefix}--btn {
max-width: none;
flex: 1;
flex: 0 1 50%;
height: 4rem;
margin: 0;
padding-top: $spacing-05;
Expand Down

0 comments on commit 4f2cb5e

Please sign in to comment.