]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove redundant properties
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 25 Apr 2019 19:10:55 +0000 (21:10 +0200)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Sun, 15 Sep 2019 11:38:04 +0000 (13:38 +0200)
scss/_card.scss

index f68855c56ccdaa76be37958455993edf1fbb9c38..24c65bee0480ca7d84dff37e04c0515f0fc57bea 100644 (file)
 // 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;
 //
 
 .card-group {
-  display: flex;
-  flex-direction: column;
-
   // The child selector allows nested `.card` within `.card-group`
   // to display properly.
   > .card {
   }
 
   @include media-breakpoint-up(sm) {
+    display: flex;
     flex-flow: row wrap;
     // The child selector allows nested `.card` within `.card-group`
     // to display properly.