Fix overflow

This commit is contained in:
1ilit 2024-11-29 20:53:33 +04:00
parent 8301cea0bd
commit a5fea9c05a

View File

@ -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",
}}
>