refactor(ai-toolbar): cluster example prompts in masonry layout
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user