Define modal first and last child border-radius
Use $modal-border-radius for all modal border radius definitions
This commit is contained in:
parent
26f7e8a13a
commit
0ea42f7d28
2 changed files with 12 additions and 1 deletions
|
@ -87,7 +87,17 @@ body.modal-open {
|
|||
background-color: $black-transparent;
|
||||
|
||||
.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) {
|
||||
|
|
|
@ -807,6 +807,7 @@ Modals
|
|||
*/
|
||||
$modal-body-height: 80px;
|
||||
$modal-border-color: #e9ecef;
|
||||
$modal-border-radius: 0.25rem;
|
||||
|
||||
$priority-label-empty-state-width: 114px;
|
||||
|
||||
|
|
Loading…
Reference in a new issue