diff --git a/src/components/editor/components/block-popover/MathEquationPopoverContent.tsx b/src/components/editor/components/block-popover/MathEquationPopoverContent.tsx index b3e545372..d0af345e8 100644 --- a/src/components/editor/components/block-popover/MathEquationPopoverContent.tsx +++ b/src/components/editor/components/block-popover/MathEquationPopoverContent.tsx @@ -57,7 +57,7 @@ function MathEquationPopoverContent({ const inputRef = useRef(null); return ( -
+
{ if (!input) return; diff --git a/src/components/editor/components/block-popover/index.tsx b/src/components/editor/components/block-popover/index.tsx index 8ebafbefa..1c2d15a56 100644 --- a/src/components/editor/components/block-popover/index.tsx +++ b/src/components/editor/components/block-popover/index.tsx @@ -85,7 +85,7 @@ function BlockPopover() { top: panelPosition.bottom, left: panelPosition.left, }, - type === BlockType.ImageBlock || type === BlockType.VideoBlock ? 400 : 560, + 400, type === BlockType.ImageBlock || type === BlockType.VideoBlock ? 366 : 200, defaultOrigins, 16