From 9ce7aff6e865d7d70beb5aca5d03207c233d9257 Mon Sep 17 00:00:00 2001 From: IGNGserver <176017966+IGNGserver@users.noreply.github.com> Date: Fri, 30 Oct 2026 18:18:18 +0800 Subject: [PATCH] fix(workflows): align stage action menu and full-width add button Avoid horizontal overflow of the stage header action menu by keeping the stage title and task count inline while pushing the menu trigger to the trailing edge. Extend the dashed add-stage button to span the full grid width so it neatly grounds the stages list when wrapped. Assisted-by: opencode/gemini-3.8-flash --- apps/web/src/styles/pages.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/src/styles/pages.css b/apps/web/src/styles/pages.css index b3d8ad0..e25bd03 100644 --- a/apps/web/src/styles/pages.css +++ b/apps/web/src/styles/pages.css @@ -281,10 +281,11 @@ display: flex; align-items: center; gap: 6px; + min-inline-size: 0; } .workflow-stage__name { - flex: 1 1 auto; + flex: 0 1 auto; min-inline-size: 0; margin: 0; overflow: hidden; @@ -308,6 +309,10 @@ font-size: var(--m3-type-label-small-size); } +.workflow-stage__header .workflow-menu { + margin-inline-start: auto; +} + .workflow-stage__notice, .workflow-stage__empty { margin: 0; @@ -332,6 +337,7 @@ align-items: center; justify-content: center; gap: 6px; + grid-column: 1 / -1; min-block-size: 48px; padding: 12px; border: 1px dashed var(--m3-outline);