Skip to content

Commit

Permalink
fix(modal): fix modal content padding for regular size (#5046)
Browse files Browse the repository at this point in the history
Fixes #4790.
  • Loading branch information
asudoh authored and joshblack committed Jan 23, 2020
1 parent de05a64 commit 62453e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@
.#{$prefix}--modal-content__regular-content {
padding-right: 20%;
}

.#{$prefix}--modal-content--with-form {
padding-right: $spacing-05; // Override for `.#{$prefix}--modal-content`
}
}

@include carbon--breakpoint(lg) {
Expand All @@ -118,10 +122,6 @@

.#{$prefix}--modal-content--with-form {
padding-right: $spacing-05;

@include carbon--breakpoint(md) {
padding-right: $spacing-05; // Override for `.#{$prefix}--modal-content`
}
}

.#{$prefix}--modal-container--xs {
Expand Down

0 comments on commit 62453e7

Please sign in to comment.