angularjs ui-grid 将列高度更改为 auto 会导致奇怪的线出现在其他列上
angularjs ui-grid changing column height to auto causes weird line to show up on other columns
我有一个列我想动态更改高度但是一旦我更改高度你可以在图像中看到另一列的高度得到相应调整但他们的背景列现在是棕色的。
我改变了这个cssclass的高度
.ui-grid-cell{height:auto}
我想让其他栏目背景全白,请问如何解决?
您可能需要更改 ui-grid.css
中的以下内容
.cellheight .ui-grid-row {
display: table-row;
height: auto !important;
}
.cellheight .ui-grid-cell {
display: table-cell;
height: auto !important;
vertical-align: middle;
float: none;
}
.cellheight .ui-grid-cell-contents {
height: auto !important;
}
我有一个列我想动态更改高度但是一旦我更改高度你可以在图像中看到另一列的高度得到相应调整但他们的背景列现在是棕色的。
我改变了这个cssclass的高度
.ui-grid-cell{height:auto}
我想让其他栏目背景全白,请问如何解决?
您可能需要更改 ui-grid.css
.cellheight .ui-grid-row {
display: table-row;
height: auto !important;
}
.cellheight .ui-grid-cell {
display: table-cell;
height: auto !important;
vertical-align: middle;
float: none;
}
.cellheight .ui-grid-cell-contents {
height: auto !important;
}