mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 07:06:36 +02:00
Limit selectors in .card-group
to immediate children to fix border-radius
bug (#41298)
This commit is contained in:
@@ -206,13 +206,13 @@
|
|||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
@include border-end-radius(0);
|
@include border-end-radius(0);
|
||||||
|
|
||||||
.card-img-top,
|
> .card-img-top,
|
||||||
.card-header {
|
> .card-header {
|
||||||
// stylelint-disable-next-line property-disallowed-list
|
// stylelint-disable-next-line property-disallowed-list
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
}
|
}
|
||||||
.card-img-bottom,
|
> .card-img-bottom,
|
||||||
.card-footer {
|
> .card-footer {
|
||||||
// stylelint-disable-next-line property-disallowed-list
|
// stylelint-disable-next-line property-disallowed-list
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
@@ -221,13 +221,13 @@
|
|||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
@include border-start-radius(0);
|
@include border-start-radius(0);
|
||||||
|
|
||||||
.card-img-top,
|
> .card-img-top,
|
||||||
.card-header {
|
> .card-header {
|
||||||
// stylelint-disable-next-line property-disallowed-list
|
// stylelint-disable-next-line property-disallowed-list
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
}
|
}
|
||||||
.card-img-bottom,
|
> .card-img-bottom,
|
||||||
.card-footer {
|
> .card-footer {
|
||||||
// stylelint-disable-next-line property-disallowed-list
|
// stylelint-disable-next-line property-disallowed-list
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user