diff --git a/src/components/EditorHeader/Modal/Modal.jsx b/src/components/EditorHeader/Modal/Modal.jsx index aa069e8..8db36c4 100644 --- a/src/components/EditorHeader/Modal/Modal.jsx +++ b/src/components/EditorHeader/Modal/Modal.jsx @@ -369,7 +369,8 @@ export default function Modal({ width={getModalWidth(modal)} bodyStyle={{ maxHeight: window.innerHeight - 280, - overflow: "auto", + overflow: + modal === MODAL.CODE || modal === MODAL.IMG ? "hidden" : "auto", direction: "ltr", }} >