diff options
| author | Martijn Cuppens <[email protected]> | 2019-04-25 21:10:55 +0200 |
|---|---|---|
| committer | Martijn Cuppens <[email protected]> | 2019-09-15 13:38:04 +0200 |
| commit | 6e638685002e8d5f5c42b274ce87ae3d044d52f2 (patch) | |
| tree | ea7cf40ba78034316fab9cf3cfdebe24c51e8353 | |
| parent | d99ff902f8c7b849ccb283af69d6a8ac15356450 (diff) | |
| download | bootstrap-6e638685002e8d5f5c42b274ce87ae3d044d52f2.tar.xz bootstrap-6e638685002e8d5f5c42b274ce87ae3d044d52f2.zip | |
Remove redundant properties
| -rw-r--r-- | scss/_card.scss | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index f68855c56..24c65bee0 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -151,23 +151,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; @@ -181,9 +177,6 @@ // .card-group { - display: flex; - flex-direction: column; - // The child selector allows nested `.card` within `.card-group` // to display properly. > .card { @@ -191,6 +184,7 @@ } @include media-breakpoint-up(sm) { + display: flex; flex-flow: row wrap; // The child selector allows nested `.card` within `.card-group` // to display properly. |
