1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #18940: use specific border properties when changing the corners of list groups in cards to avoid overriding combo first-/last-child items

This commit is contained in:
Mark Otto 2016-02-08 23:37:38 -08:00
parent 6370e9dc75
commit faa7cea301

View file

@ -53,13 +53,15 @@
.card {
> .list-group:first-child {
.list-group-item:first-child {
border-radius: $card-border-radius $card-border-radius 0 0;
border-top-left-radius: $card-border-radius;
border-top-right-radius: $card-border-radius;
}
}
> .list-group:last-child {
.list-group-item:last-child {
border-radius: 0 0 $card-border-radius $card-border-radius;
border-bottom-left-radius: $card-border-radius;
border-bottom-right-radius: $card-border-radius;
}
}
}