From 32ffe96dce3dbe58d00dbdb974cfa202428ec94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E8=8E=93=F0=9F=AB=90?= Date: Fri, 20 Nov 2026 23:14:04 +0700 Subject: [PATCH] fix(stage-ui): line up the Notifications header in the drawer surface (#3549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary On the drawer surface, the header of the Notifications panel had no side padding. The title did not line up with the text of the messages. The mark-all-read button pads its icon by 6px, so the space at the right of the header was wider than the space at the left. The drawer header now pads as the floating header already does: `pl-4 pr-2.5`. The title lines up with the message text, and the icon keeps the same distance from the edge as the title. ## Context - Request: make the left and right spacing of the Notifications header even in the app menu of the desktop app. Keep the change small, without a new surface or prop. - Scenario: in stage-tamagotchi, the Notifications submenu of the app menu showed the title close to the left edge and a wider gap at the right of the mark-all-read button. - Scope: one class list in `inbox-panel.vue`. The app menu and the bottom drawer of the mobile menu share the drawer surface, so both change. The floating surface does not change. ## Visual changes | Before | After | |---|---| | ![](https://github.com/user-attachments/assets/0e3f1253-fbed-46a7-8ffd-a43ceb974208) | ![](https://github.com/user-attachments/assets/be5235b6-e2a7-49fb-a964-0a1711e8b1e5) | | Inbox Panel story / Mobile · menu entry, 390x780, light | Inbox Panel story / Mobile · menu entry, 390x780, light | The app menu of the desktop app has no capture. It shows Notifications only for a signed-in account, and the capture profile has none. A signed-in local development build was checked manually. ## Verification - The captures come from the Inbox Panel story on the merge base and on this branch, with the same steps: open the menu, then wait for the drawer, the fonts, and the styles. - No tests ran locally. CI runs the lint, typecheck, and tests. `inbox-panel.browser.test.ts` and `inbox-drawer.browser.test.ts` do not check the header position. ## Agent - Harness: Claude Code - Model: claude-opus-5-5 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Neko --- .../src/components/scenarios/notifications/inbox-panel.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/stage-ui/src/components/scenarios/notifications/inbox-panel.vue b/packages/stage-ui/src/components/scenarios/notifications/inbox-panel.vue index a61ab9710..d6326024c 100644 --- a/packages/stage-ui/src/components/scenarios/notifications/inbox-panel.vue +++ b/packages/stage-ui/src/components/scenarios/notifications/inbox-panel.vue @@ -59,7 +59,11 @@ useIntersectionObserver(listEnd, ([entry]) => {