From f4f050bcd4153297bc1d44109ea572539b6fc381 Mon Sep 17 00:00:00 2001 From: viettranx Date: Fri, 27 Mar 2026 23:00:16 +0700 Subject: [PATCH] fix(desktop): increase media thumbnail height from 160px to 288px Change from h-40 object-cover (fixed crop) to max-h-72 object-contain so images display at proper aspect ratio without cropping. --- ui/desktop/frontend/src/components/chat/MediaBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/frontend/src/components/chat/MediaBlock.tsx b/ui/desktop/frontend/src/components/chat/MediaBlock.tsx index 9ebeb85c..25cceed3 100644 --- a/ui/desktop/frontend/src/components/chat/MediaBlock.tsx +++ b/ui/desktop/frontend/src/components/chat/MediaBlock.tsx @@ -48,7 +48,7 @@ export function MediaBlock({ items }: MediaBlockProps) { onClick={() => setLightboxIndex(i)} className="group relative overflow-hidden rounded-lg border border-border cursor-pointer" > - +
))}