mirror of https://github.com/twbs/bootstrap.git
Fix overflowing text in Cards with `word-wrap: break-word`
This commit is contained in:
parent
ec56bbe6bf
commit
891bca435f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue