Skip to content

Commit

Permalink
Fix resizing of the plugin window
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Dec 16, 2024
1 parent cda129b commit 6f93027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/common/main/lib/view/PluginDlg.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6f93027

Please sign in to comment.