fix: Set cell height explicitly
This commit is contained in:
parent
31264d1f4d
commit
3475f6ccaa
@ -143,6 +143,7 @@ export default class Style {
|
||||
}
|
||||
|
||||
setDimensions() {
|
||||
this.setCellHeight();
|
||||
this.setupMinWidth();
|
||||
this.setupNaturalColumnWidth();
|
||||
this.setupColumnWidth();
|
||||
@ -151,6 +152,12 @@ export default class Style {
|
||||
this.setBodyStyle();
|
||||
}
|
||||
|
||||
setCellHeight() {
|
||||
this.setStyle('.dt-cell', {
|
||||
height: this.options.cellHeight + 'px'
|
||||
});
|
||||
}
|
||||
|
||||
setupMinWidth() {
|
||||
$.each('.dt-cell--header', this.header).map(col => {
|
||||
const { colIndex } = $.data(col);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user