mirror of https://github.com/twbs/bootstrap.git
Cards must be inline-block in columns, otherwise they can get split across columns
This commit is contained in:
parent
0bd0e3e7d8
commit
5713077ba5
|
@ -314,6 +314,7 @@
|
||||||
column-gap: $card-columns-sm-up-column-gap;
|
column-gap: $card-columns-sm-up-column-gap;
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
|
display: inline-block; // Don't let them vertically span multiple columns
|
||||||
width: 100%; // Don't let them exceed the column width
|
width: 100%; // Don't let them exceed the column width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue