From: Gijs Boddeus Date: Sun, 22 Oct 2017 19:18:03 +0000 (+0200) Subject: fix card group border radii (#24491) X-Git-Tag: v4.0.0-beta.3~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6824f71795d7cae53ac89da9eb8ebe8548278f83;p=thirdparty%2Fbootstrap.git fix card group border radii (#24491) --- diff --git a/scss/_card.scss b/scss/_card.scss index a739f19355..66f344eda0 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -194,10 +194,12 @@ &:first-child { @include border-right-radius(0); - .card-img-top { + .card-img-top, + .card-header { border-top-right-radius: 0; } - .card-img-bottom { + .card-img-bottom, + .card-footer { border-bottom-right-radius: 0; } } @@ -205,10 +207,12 @@ &:last-child { @include border-left-radius(0); - .card-img-top { + .card-img-top, + .card-header { border-top-left-radius: 0; } - .card-img-bottom { + .card-img-bottom, + .card-footer { border-bottom-left-radius: 0; } } @@ -216,10 +220,12 @@ &:only-child { @include border-radius($card-border-radius); - .card-img-top { + .card-img-top, + .card-header { @include border-top-radius($card-border-radius); } - .card-img-bottom { + .card-img-bottom, + .card-footer { @include border-bottom-radius($card-border-radius); } } @@ -228,7 +234,9 @@ border-radius: 0; .card-img-top, - .card-img-bottom { + .card-img-bottom, + .card-header, + .card-footer { border-radius: 0; } }