Skip to content

Commit

Permalink
Merge pull request #476 from ONLYOFFICE/hotfix/frame-height
Browse files Browse the repository at this point in the history
fix: frame height
  • Loading branch information
LinneyS authored Apr 1, 2024
2 parents d46b1aa + b104c7c commit db00360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@
if (wrapEl.length > 0) {
wrapEl[0].style.height = (screen.availHeight - headerHeight) + "px";
window.scrollTo(0, -1);
wrapEl[0].style.height = (window.innerHeight - headerHeight) + "px";
wrapEl[0].style.height = (window.top.innerHeight - headerHeight) + "px";
}
};

Expand Down

0 comments on commit db00360

Please sign in to comment.