Skip to content

Commit

Permalink
Fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilit committed Nov 29, 2024
1 parent 8301cea commit a5fea9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/EditorHeader/Modal/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}}
>
Expand Down

0 comments on commit a5fea9c

Please sign in to comment.