mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:59:28 +08:00
Merge pull request 'Fix resizing of the plugin window' (#182) from fix/bugfix into release/v8.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/web-apps/pulls/182
This commit is contained in:
@ -88,6 +88,7 @@ define([], function () {
|
||||
this._headerFooterHeight += ((parseInt(this.$window.css('border-top-width')) + parseInt(this.$window.css('border-bottom-width'))));
|
||||
|
||||
if (Common.Utils.innerHeight()-this.bordersOffset*2 < this.options.contentHeight + this._headerFooterHeight) {
|
||||
this._restoreHeight = this.options.contentHeight + this._headerFooterHeight;
|
||||
this.options.contentHeight = Common.Utils.innerHeight()-this.bordersOffset*2 - this._headerFooterHeight;
|
||||
this.boxEl.css('height', this.options.contentHeight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user