소스 검색

auto height for html preview

lloydzhou 1 년 전
부모
커밋
fb60fbb217
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/components/markdown.tsx

+ 1 - 1
app/components/markdown.tsx

@@ -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}