Skip to content

Commit

Permalink
refactor: refactoring after review
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Dec 13, 2023
1 parent 2695bd5 commit bf4b3f8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Modal/_ModalDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,22 @@

// Color Variants

.pgn__modal {
// Default style modals don't have a background on the header which
// ends up looking spaced too far away from the body content.
.pgn__modal-header {
padding-bottom: calc(#{$modal-inner-padding} / 2);
}

.pgn__modal-body {
padding: calc(#{$modal-inner-padding} / 2) $modal-inner-padding;

&::before {
top: calc(#{$modal-inner-padding} / 2 * -1);
}
}
}

.pgn__modal-dark {
.pgn__modal-header,
.pgn__modal-hero {
Expand Down

0 comments on commit bf4b3f8

Please sign in to comment.