Apply modal border-radius only to direct children
This commit is contained in:
parent
b2f61487fb
commit
d9c880444d
1 changed files with 2 additions and 2 deletions
|
@ -93,12 +93,12 @@ body.modal-open {
|
||||||
.modal-content {
|
.modal-content {
|
||||||
border-radius: $modal-border-radius;
|
border-radius: $modal-border-radius;
|
||||||
|
|
||||||
*:first-child {
|
> :first-child {
|
||||||
border-top-left-radius: $modal-border-radius;
|
border-top-left-radius: $modal-border-radius;
|
||||||
border-top-right-radius: $modal-border-radius;
|
border-top-right-radius: $modal-border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
*:last-child {
|
> :last-child {
|
||||||
border-bottom-left-radius: $modal-border-radius;
|
border-bottom-left-radius: $modal-border-radius;
|
||||||
border-bottom-right-radius: $modal-border-radius;
|
border-bottom-right-radius: $modal-border-radius;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue