From ac988f6c972903a5f0e5a7b99f9e3736a0301039 Mon Sep 17 00:00:00 2001 From: Fusion Date: Wed, 13 May 2026 20:33:20 -0700 Subject: [PATCH] feat(FN-4385): align ChatView mobile padding note and test tag Fixed mobile padding consistency in ChatView by aligning a CSS comment and its corresponding test tag to match, keeping documentation and tests in sync for FN-4385. Fusion-Task-Id: FN-4385 --- packages/dashboard/app/components/ChatView.css | 2 +- packages/dashboard/app/components/__tests__/ChatView.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/app/components/ChatView.css b/packages/dashboard/app/components/ChatView.css index d0c00d8ca..432f278cf 100644 --- a/packages/dashboard/app/components/ChatView.css +++ b/packages/dashboard/app/components/ChatView.css @@ -1657,7 +1657,7 @@ opacity: 1; } - /* FN-4352/FN-4387: keep row text clearance aligned to compact secondary delete control (matches base compact clearance). */ + /* FN-4352/FN-4385: keep row text clearance aligned to compact secondary delete control (matches base compact clearance). */ .chat-session-title, .chat-session-preview { padding-right: calc(var(--space-md) * 3); diff --git a/packages/dashboard/app/components/__tests__/ChatView.test.tsx b/packages/dashboard/app/components/__tests__/ChatView.test.tsx index c861b9117..f328b70b6 100644 --- a/packages/dashboard/app/components/__tests__/ChatView.test.tsx +++ b/packages/dashboard/app/components/__tests__/ChatView.test.tsx @@ -2632,7 +2632,7 @@ describe("FN-3911 chat session list layout", () => { expect(previewMatch?.[1]).toMatch(/padding-right:\s*calc\(var\(--space-md\)\s*\*\s*3\)/); }); - it("FN-4387: keeps mobile title/preview clearance matched to compact delete button", () => { + it("FN-4385: keeps mobile title/preview clearance matched to compact delete button", () => { expect(css).toMatch( /@media\s*\(max-width:\s*768px\)[\s\S]*?\.chat-session-title,\s*\.chat-session-preview\s*\{\s*padding-right:\s*calc\(var\(--space-md\)\s*\*\s*3\);\s*\}/, );