]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Limit selectors in `.card-group` to immediate children to fix `border-radius` bug...
authormscdex <mscdex@users.noreply.github.com>
Wed, 9 Apr 2025 17:52:24 +0000 (13:52 -0400)
committerGitHub <noreply@github.com>
Wed, 9 Apr 2025 17:52:24 +0000 (19:52 +0200)
scss/_card.scss

index a5c122925ac3f553bb95a262fc1421641c0681cd..dcebe6ac28c09019b83b525a2cbebd9e42dea5aa 100644 (file)
         &:not(:last-child) {
           @include border-end-radius(0);
 
-          .card-img-top,
-          .card-header {
+          .card-img-top,
+          .card-header {
             // stylelint-disable-next-line property-disallowed-list
             border-top-right-radius: 0;
           }
-          .card-img-bottom,
-          .card-footer {
+          .card-img-bottom,
+          .card-footer {
             // stylelint-disable-next-line property-disallowed-list
             border-bottom-right-radius: 0;
           }
         &:not(:first-child) {
           @include border-start-radius(0);
 
-          .card-img-top,
-          .card-header {
+          .card-img-top,
+          .card-header {
             // stylelint-disable-next-line property-disallowed-list
             border-top-left-radius: 0;
           }
-          .card-img-bottom,
-          .card-footer {
+          .card-img-bottom,
+          .card-footer {
             // stylelint-disable-next-line property-disallowed-list
             border-bottom-left-radius: 0;
           }