auto height for html preview

This commit is contained in:
lloydzhou 2024-07-23 17:51:44 +08:00
parent 4199e17da0
commit fb60fbb217
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ export function HTMLPreview(props: { code: string }) {
cursor: "pointer",
overflow: "auto",
}}
onClick={(e) => e.stopPropapation()}
onClick={(e) => e.stopPropagation()}
>
<iframe
id={frameId}