From c9fbb06a92c9224e32854d2ba66da848dd909b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=88=98=ED=98=84?= Date: Thu, 5 Nov 2026 17:59:21 +0900 Subject: [PATCH] fix(sw): even out the multi step header tool group margins without window buttons With appearance="multi" and all window controls hidden, the tool group is the last child of the window area; give it the same 5px right margin as its left margin. The existing 2px margin stays whenever a window button follows. default and other headers are unchanged. --- packages/sw/src/theme/sw-process-header.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/sw/src/theme/sw-process-header.css b/packages/sw/src/theme/sw-process-header.css index 9f0b69c..aab7396 100644 --- a/packages/sw/src/theme/sw-process-header.css +++ b/packages/sw/src/theme/sw-process-header.css @@ -498,6 +498,9 @@ } /* SW pill at the Figma place: 41 high, 4 from the top, 5 from the window start, 2 before the window move. */ .hm-sw-process-header[data-appearance="multi"] .hm-sw-process-header__window .hm-sw-process-header__tools { height: 41px; margin: 4px 2px 0 5px; } +/* No window button follows the pill (window move, minimize, maximize, close all hidden; the pill is then the last child of the + window area): the 2px gap to the window move is not needed, so the pill gets the same 5px at both ends. */ +.hm-sw-process-header[data-appearance="multi"] .hm-sw-process-header__window .hm-sw-process-header__tools:last-child { margin-right: 5px; } .hm-sw-process-header[data-appearance="multi"] .hm-sw-process-header__tools .hm-sw-tool__pill-button { height: 37px; } /* Lit middle group (neither the first nor the last; Figma 6797:16225): the two start_bg overlay layers (0.85 / 0.45, lit-group