Skip to content

Commit

Permalink
fix: frame height
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Mar 29, 2024
1 parent d46b1aa commit b104c7c
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 b104c7c

Please sign in to comment.