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
path: root/scss
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-04-25 22:10:55 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-10-14 12:12:05 +0300
commit510a446be686edba83c22042c48b58fa900fdc30 (patch)
tree2788e8cbb12357c6c0b209b06d55d0242cb8565c /scss
parent327bfca418eb586e488e021ba2ba94074b2fc1c5 (diff)
Remove redundant properties
Diffstat (limited to 'scss')
-rw-r--r--scss/_card.scss10
1 files changed, 2 insertions, 8 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 313a0f80d7..6fae8b405e 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -145,23 +145,19 @@
// Card deck
.card-deck {
- display: flex;
- flex-direction: column;
-
.card {
margin-bottom: $card-deck-margin;
}
@include media-breakpoint-up(sm) {
+ display: flex;
flex-flow: row wrap;
margin-right: -$card-deck-margin;
margin-left: -$card-deck-margin;
.card {
- display: flex;
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
flex: 1 0 0%;
- flex-direction: column;
margin-right: $card-deck-margin;
margin-bottom: 0; // Override the default
margin-left: $card-deck-margin;
@@ -175,9 +171,6 @@
//
.card-group {
- display: flex;
- flex-direction: column;
-
// The child selector allows nested `.card` within `.card-group`
// to display properly.
> .card {
@@ -185,6 +178,7 @@
}
@include media-breakpoint-up(sm) {
+ display: flex;
flex-flow: row wrap;
// The child selector allows nested `.card` within `.card-group`
// to display properly.