diff options
| author | Martijn Cuppens <[email protected]> | 2019-10-03 09:21:40 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-10-03 09:21:40 +0200 |
| commit | 03c9788f7a0293beef328c004b124f4433c3c64d (patch) | |
| tree | a0ff43603def84a779d54c426d9cb1d924a9f1c0 /scss | |
| parent | f6a1e2fc8990f2c8975b0f27fc14027a6f7e9fae (diff) | |
| download | bootstrap-03c9788f7a0293beef328c004b124f4433c3c64d.tar.xz bootstrap-03c9788f7a0293beef328c004b124f4433c3c64d.zip | |
Variable card height (#29462)
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_card.scss | 1 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index c4d046ca0..d055ca310 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -7,6 +7,7 @@ display: flex; flex-direction: column; min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106 + height: $card-height; word-wrap: break-word; background-color: $card-bg; background-clip: border-box; diff --git a/scss/_variables.scss b/scss/_variables.scss index a5da4e41d..0e7626beb 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -840,6 +840,7 @@ $card-border-color: rgba($black, .125) !default; $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default; $card-cap-bg: rgba($black, .03) !default; $card-cap-color: null !default; +$card-height: null !default; $card-color: null !default; $card-bg: $white !default; |
