Apply modal border-radius only to direct children

This commit is contained in:
mfluharty 2019-07-11 13:21:29 -06:00
parent b2f61487fb
commit d9c880444d
No known key found for this signature in database
GPG key ID: 6FDA03A308D239E8

View file

@ -93,12 +93,12 @@ body.modal-open {
.modal-content {
border-radius: $modal-border-radius;
*:first-child {
> :first-child {
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
}
*:last-child {
> :last-child {
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
}