Table: equal behaviour for height and max-height (#14660)

pull/15249/head
Arthur Denner 2019-04-24 07:32:56 -03:00 committed by hetech
parent 8bae5a79f9
commit 9c620409fc
1 changed files with 1 additions and 3 deletions

View File

@ -585,9 +585,7 @@
}; };
} else if (this.maxHeight) { } else if (this.maxHeight) {
return { return {
'max-height': (this.showHeader 'max-height': this.layout.bodyHeight ? this.layout.bodyHeight + 'px' : ''
? this.maxHeight - this.layout.headerHeight - this.layout.footerHeight
: this.maxHeight - this.layout.footerHeight) + 'px'
}; };
} }
return {}; return {};