mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
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…
x
Reference in New Issue
Block a user