Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGijs Boddeus <botje_gijs@hotmail.com>2017-10-22 22:18:03 +0300
committerMark Otto <markd.otto@gmail.com>2017-10-22 22:18:03 +0300
commit6824f71795d7cae53ac89da9eb8ebe8548278f83 (patch)
treee7b88e71c2270b355031337b1d6a997df0315df3 /scss/_card.scss
parent25649311653a50f72d4db6af0a2270f3c6da6813 (diff)
fix card group border radii (#24491)
Diffstat (limited to 'scss/_card.scss')
-rw-r--r--scss/_card.scss22
1 files changed, 15 insertions, 7 deletions
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;
}
}