mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-22 08:53:29 +08:00
Merge pull request #17748 from yoyo837/fix-col
fix: All .ant-col sets the min-height
This commit is contained in:
commit
ca5d765eba
@ -61,6 +61,8 @@
|
||||
}
|
||||
|
||||
.@{ant-prefix}-col {
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
.col(@index, @list) when (@index > @grid-columns) {
|
||||
@{list} {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
padding-right: (@grid-gutter-width / 2);
|
||||
padding-left: (@grid-gutter-width / 2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user