Commit 9c620409 authored by Arthur Denner's avatar Arthur Denner Committed by hetech

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

parent 8bae5a79
......@@ -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 {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment