Skip to content

Commit

Permalink
Merge pull request #969 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 9416b73 + e4f7105 commit 59e6f6a
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 @@ -716,7 +716,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 59e6f6a

Please sign in to comment.