fix(frontend): make run-page flow graph scrollable (#3830) (#9607)

On the run page the flow graph is rendered without a maxHeight, so its
height grows to the full content height. The wrapper used overflow-clip
and was itself capped by max-h-screen, so once the graph was taller than
the viewport the overflow was clipped with no way to reach the lower
nodes.

Switch the wrapper to overflow-y-auto overflow-x-clip so a vertical
scrollbar appears only when the content overflows. The flow editor passes
maxHeight equal to its container, so its graph never overflows and is
unaffected.

Fixes #3830

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daniel Gomez
2026-11-18 23:06:34 +01:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 67165cabfc
commit b56bb252a9
@@ -1311,7 +1311,7 @@
{/if}
<div
style={`height: ${height}px; max-height: ${maxHeight}px;`}
class="overflow-clip relative {outerDivClass}"
class="overflow-y-auto overflow-x-clip relative {outerDivClass}"
bind:clientWidth={debouncedWidth}
bind:this={flowContainer}
>