Peng Xiao 3 years ago
parent
commit
5a78da0d9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tldraw/apps/tldraw-logseq/src/lib/shapes/HTMLShape.tsx

+ 1 - 1
tldraw/apps/tldraw-logseq/src/lib/shapes/HTMLShape.tsx

@@ -87,7 +87,7 @@ export class HTMLShape extends TLBoxShape<HTMLShapeProps> {
         this.update({
           size: [
             this.props.size[0],
-            Math.max(Math.min(anchorRef.current.offsetHeight || 400, 800), 400),
+            Math.max(Math.min(anchorRef.current.offsetHeight || 400, 800), 10),
           ],
         })
         app.persist(true)