Skip to content

Commit

Permalink
fix: Editor layout overflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Apr 16, 2024
1 parent 6979f2b commit 40848e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion editor.planx.uk/src/pages/FlowEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,14 @@ const FlowEditor: React.FC<any> = ({ flow, breadcrumbs }) => {

return (
<Box id="editor-container">
<Box sx={{ display: "flex", flexDirection: "column", width: "100%" }}>
<Box
sx={{
display: "flex",
flexDirection: "column",
width: "100%",
overflowX: "auto",
}}
>
<LastEdited />
<Box id="editor" ref={scrollContainerRef} sx={{ position: "relative" }}>
<Flow flow={flow} breadcrumbs={breadcrumbs} />
Expand Down

0 comments on commit 40848e0

Please sign in to comment.