From 537b1b80e52adb20612afa02bde98a3abd5e202a Mon Sep 17 00:00:00 2001 From: "Khoa.vo" Date: Tue, 6 Jan 2026 14:58:14 +0700 Subject: [PATCH] refactor: simplify gallery thumbnail UI - Remove all action buttons from thumbnail overlay - Keep only provider tag and delete button (X) - Keep prompt text visible on hover - All actions (download, video, remix, etc.) now in lightbox --- components/Gallery.tsx | 68 ++---------------------------------------- 1 file changed, 2 insertions(+), 66 deletions(-) diff --git a/components/Gallery.tsx b/components/Gallery.tsx index 5a96189..22e07b2 100644 --- a/components/Gallery.tsx +++ b/components/Gallery.tsx @@ -339,73 +339,9 @@ export function Gallery() { - {/* Overlay */} + {/* Hover Overlay - Simplified: just show prompt */}
-

{img.prompt}

-
- - e.stopPropagation()} - > - - - {/* Remix button - only for Whisk (base64) images for now */} - {(!img.provider || img.provider === 'whisk') && ( - - )} - {/* Video button - only for 16:9 images AND Whisk provider (base64) */} - {img.aspectRatio === '16:9' && (!img.provider || img.provider === 'whisk') ? ( - - ) : ( - - )} - -
+

{img.prompt}

))}