Fix overflow

This commit is contained in:
1ilit 2024-02-05 14:02:39 +02:00
parent 7e1c8fc1ca
commit 215bd55b99

View File

@ -708,7 +708,7 @@ export default function Editor() {
setLastSaved={setLastSaved}
/>
<div
className="flex h-full"
className="flex h-full overflow-y-auto"
onMouseUp={() => setResize(false)}
onMouseMove={dragHandler}
>
@ -719,7 +719,7 @@ export default function Editor() {
width={width}
/>
)}
<div className="relative w-full h-full">
<div className="relative w-full h-full overflow-hidden">
<Canvas state={state} setState={setState} />
{
!(layout.sidebar || layout.toolbar || layout.header) &&