refactor(ai-toolbar): stack attachment previews by row

This commit is contained in:
old4ever committed 2026-04-22 17:35:12 -04:00
1 parent 7efc22c19c
commit 7b61703b01
2 files changed
+8 -3

No files matched your search

+7
View File
@@ -184,6 +184,13 @@ describe("AI capture redesign", () => {
expect(source).toContain("rounded-[10px] bg-card p-3 shadow-sm");
});
test("attachment previews stack one per row instead of using a two-column desktop grid", () => {
const source = readToolbarSource();
expect(source).not.toContain('"mt-3 grid gap-2 grid-cols-2"');
expect(source).toContain('"mt-3 grid gap-2"');
});
});
// ─── Cycle 6: Composer footer bar ────────────────────────────────────────────