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
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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*\}/,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user