Skip to content

Commit 3cc6909

Browse files
committed
Fix height returning for embed
1 parent 76ba761 commit 3cc6909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function getDocumentHeight() {
280280
const body = document.body;
281281
const html = document.documentElement;
282282

283-
const height = Math.max(
283+
return Math.max(
284284
body.scrollHeight,
285285
body.offsetHeight,
286286
html.clientHeight,

0 commit comments

Comments
 (0)