Commit 0ea42f7d authored by mfluharty's avatar mfluharty

Define modal first and last child border-radius

Use $modal-border-radius for all modal border radius definitions
parent 26f7e8a1
...@@ -87,7 +87,17 @@ body.modal-open { ...@@ -87,7 +87,17 @@ body.modal-open {
background-color: $black-transparent; background-color: $black-transparent;
.modal-content { .modal-content {
border-radius: 0.25rem; border-radius: $modal-border-radius;
*:first-child {
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
}
*:last-child {
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
}
} }
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
......
...@@ -807,6 +807,7 @@ Modals ...@@ -807,6 +807,7 @@ Modals
*/ */
$modal-body-height: 80px; $modal-body-height: 80px;
$modal-border-color: #e9ecef; $modal-border-color: #e9ecef;
$modal-border-radius: 0.25rem;
$priority-label-empty-state-width: 114px; $priority-label-empty-state-width: 114px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment