Skip to content

Commit

Permalink
fix(modal): set half width single buttons (#5502)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored and joshblack committed Mar 10, 2020
1 parent 8efe541 commit 80903ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,16 @@

.#{$prefix}--modal-footer {
display: flex;
justify-content: flex-end;
margin-top: auto;
height: 4rem;
background-color: $modal-footer-background-color;

grid-row: -1/-1;
grid-column: 1/-1;

button.#{$prefix}--btn {
max-width: none;
flex: 1;
flex: 0 1 50%;
height: 4rem;
margin: 0;
padding-top: $spacing-05;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const classic = [

// Modal
'modal-border-top',
'modal-footer-background-color',

// Progress Indicator
'progress-indicator-bar-width',
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/globals/scss/_theme-tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ $modal-border-top: $brand-01 4px solid !default;
/// @type Color
/// @access public
/// @group modal
/// @deprecated
$modal-footer-background-color: $ui-03 !default;

// Notification
Expand Down

0 comments on commit 80903ac

Please sign in to comment.