Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BD-46] fix: fixed ModalDialog.Header sizes #2925

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions src/Modal/_ModalDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,22 +230,6 @@

// Color Variants

.pgn__modal-default {
// 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);
}
viktorrusakov marked this conversation as resolved.
Show resolved Hide resolved

.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 All @@ -256,10 +240,6 @@
color: inherit;
}
}

.pgn__modal-header {
border-bottom: solid 1px $light;
}
}

.pgn__modal-warning .pgn__modal-header {
Expand Down