1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 02:24:19 +02:00

Fix overflowing text in Cards with word-wrap: break-word

This commit is contained in:
Patrick Yeo
2017-06-01 14:21:33 -07:00
committed by Mark Otto
parent ec56bbe6bf
commit 891bca435f

View File

@@ -6,6 +6,8 @@
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: $card-bg; background-color: $card-bg;
border: $card-border-width solid $card-border-color; border: $card-border-width solid $card-border-color;
@include border-radius($card-border-radius); @include border-radius($card-border-radius);
@@ -20,7 +22,6 @@
.card-title { .card-title {
margin-bottom: $card-spacer-y; margin-bottom: $card-spacer-y;
word-break: break-all;
} }
.card-subtitle { .card-subtitle {