mirror of https://github.com/ElemeFE/element
Table: equal behaviour for height and max-height (#14660)
parent
8bae5a79f9
commit
9c620409fc
|
@ -585,9 +585,7 @@
|
|||
};
|
||||
} else if (this.maxHeight) {
|
||||
return {
|
||||
'max-height': (this.showHeader
|
||||
? this.maxHeight - this.layout.headerHeight - this.layout.footerHeight
|
||||
: this.maxHeight - this.layout.footerHeight) + 'px'
|
||||
'max-height': this.layout.bodyHeight ? this.layout.bodyHeight + 'px' : ''
|
||||
};
|
||||
}
|
||||
return {};
|
||||
|
|
Loading…
Reference in New Issue