refactor(ai-toolbar): cluster example prompts in masonry layout

This commit is contained in:
2026-04-22 17:42:29 -04:00
parent 8b17d75193
commit e1a12d0c71
2 changed files with 26 additions and 14 deletions

View File

@@ -166,6 +166,15 @@ describe("AI capture redesign", () => {
expect(source).not.toContain("lg:grid-cols-");
});
test("example prompts use a masonry-style cluster inside the composer footer", () => {
const source = readToolbarSource();
expect(source).toContain("Try:");
expect(source).toContain("columns-2");
expect(source).toContain("break-inside-avoid");
expect(source).toContain("w-full text-left");
});
test("desktop composer uses a two-column row when the page gives it full-width space", () => {
const source = readToolbarSource();