mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix Bug 58113
This commit is contained in:
@ -241,7 +241,7 @@ define([
|
||||
|
||||
function _autoSize() {
|
||||
if (this.initConfig.height == 'auto') {
|
||||
var height = parseInt(this.$window.find('> .body').css('height'));
|
||||
var height = Math.ceil(parseFloat(this.$window.find('> .body').css('height')));
|
||||
this.initConfig.header && (height += parseInt(this.$window.find('> .header').css('height')));
|
||||
this.$window.height(height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user