From 2586f06cc33c9632fd8ff3fcd4711a03247fc7b9 Mon Sep 17 00:00:00 2001 From: Fini Date: Sun, 12 Jul 2026 03:16:15 +0800 Subject: [PATCH] fix(orchestrator): stretch the empty content column to the artboard The two-column scaffold's Main Content was fit_content and collapsed to its own padding (a 940x64 strip beside a full-height sidebar) until the first subtask landed. With the root now presetting a full artboard height the empty column can safely fill it; the finalize height-adjust still sizes the root off real content. --- crates/op-orchestrator/src/scaffold.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/op-orchestrator/src/scaffold.rs b/crates/op-orchestrator/src/scaffold.rs index b318f791e..59c0c1a5e 100644 --- a/crates/op-orchestrator/src/scaffold.rs +++ b/crates/op-orchestrator/src/scaffold.rs @@ -475,7 +475,13 @@ fn build_two_column_root_node( "id": format!("{root_id}-content"), "name": CONTENT_COLUMN_NAME, "width": "fill_container", - "height": "fit_content", + // fill, not fit: the root now presets a full artboard height, and + // an EMPTY fit_content column collapsed to its padding (a 940x64 + // strip next to a full-height sidebar - user report 2026-07-12). + // fill stretches the empty column to the artboard from frame one; + // the height-adjust finalize pass still sizes the root off the + // column's CONTENT once sections land. + "height": "fill_container", "layout": "vertical", "gap": gap, // Outer page gutter [vertical, horizontal] so sections don't run