Browse Source

all ant-col min-height setting

pull/17748/head
yoyo837 5 years ago
parent
commit
1d607d7019
  1. 2
      components/grid/style/index.less
  2. 2
      components/grid/style/mixin.less

2
components/grid/style/index.less

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

2
components/grid/style/mixin.less

@ -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…
Cancel
Save