Merge pull request #17748 from yoyo837/fix-col

fix: All .ant-col sets the min-height
This commit is contained in:
偏右 2019-07-20 11:25:08 +08:00 committed by GitHub
commit ca5d765eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -61,6 +61,8 @@
}
.@{ant-prefix}-col {
// Prevent columns from collapsing when empty
min-height: 1px;
position: relative;
}

View File

@ -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);
}