Skip to content

Commit a5fea9c

Browse files
committed
Fix overflow
1 parent 8301cea commit a5fea9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/EditorHeader/Modal/Modal.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ export default function Modal({
369369
width={getModalWidth(modal)}
370370
bodyStyle={{
371371
maxHeight: window.innerHeight - 280,
372-
overflow: "auto",
372+
overflow:
373+
modal === MODAL.CODE || modal === MODAL.IMG ? "hidden" : "auto",
373374
direction: "ltr",
374375
}}
375376
>

0 commit comments

Comments
 (0)