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

This commit is contained in:
2026-04-22 17:35:12 -04:00
parent 7efc22c19c
commit 7b61703b01
2 changed files with 8 additions and 3 deletions

View File

@@ -466,9 +466,7 @@ export const AIToolbar = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 4 }}
transition={{ duration: 0.15 }}
className={
isMobile ? "mt-3 grid gap-2" : "mt-3 grid gap-2 grid-cols-2"
}
className="mt-3 grid gap-2"
>
{imagePreviews.map((preview, index) => (
<motion.div