diff options
| author | Patrick Yeo <[email protected]> | 2017-06-01 14:21:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-06-03 22:19:19 -0700 |
| commit | 891bca435fb4a13ef60e1bc65b522c6be1e31bb3 (patch) | |
| tree | a4c37b10c76c0b079b9b159faa3da96f448bcd2f | |
| parent | ec56bbe6bf1455bc9c5ae55d3fb16324593a4ebc (diff) | |
| download | bootstrap-891bca435fb4a13ef60e1bc65b522c6be1e31bb3.tar.xz bootstrap-891bca435fb4a13ef60e1bc65b522c6be1e31bb3.zip | |
Fix overflowing text in Cards with `word-wrap: break-word`
| -rw-r--r-- | scss/_card.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 148c4f89b..e45af7bc7 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -6,6 +6,8 @@ position: relative; display: flex; flex-direction: column; + min-width: 0; + word-wrap: break-word; background-color: $card-bg; border: $card-border-width solid $card-border-color; @include border-radius($card-border-radius); @@ -20,7 +22,6 @@ .card-title { margin-bottom: $card-spacer-y; - word-break: break-all; } .card-subtitle { |
