Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Fix overflow

1ilit215bd55b991d
diff --git a/src/pages/Editor.jsx b/src/pages/Editor.jsx
index ede18cde..71eb53ce 100644
--- a/src/pages/Editor.jsx
+++ b/src/pages/Editor.jsx
@@ -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) &&