Skip to content

Commit

Permalink
auto height for html preview
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Jul 23, 2024
1 parent 4199e17 commit fb60fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit fb60fbb

Please sign in to comment.