mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-21 18:11:51 +00:00
Fix overflowing text in Cards with word-wrap: break-word
This commit is contained in:
parent
ec56bbe6bf
commit
891bca435f
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue