Преглед изворни кода

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}