diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-11-03 01:17:54 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-11-03 01:17:54 +0000 |
| commit | 2056582cf6589d5491267f36aa06b1cd7d764673 (patch) | |
| tree | b8a4e773f702aa2e5b80d99228645d4589b92967 /apps/web/components | |
| parent | 560900bb596a6900c828b2f1d60f6081d8dafb49 (diff) | |
| download | karakeep-2056582cf6589d5491267f36aa06b1cd7d764673.tar.zst | |
fix: restore image size in grid layout
Diffstat (limited to 'apps/web/components')
| -rw-r--r-- | apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx index b53a14c5..98babb22 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx @@ -181,7 +181,7 @@ function GridView({ const note = showNotes ? bookmark.note?.trim() : undefined; const img = image( "grid", - cn("h-52 min-h-52 w-full rounded-t-lg", imgFitClass), + cn("h-56 min-h-56 w-full rounded-t-lg", imgFitClass), ); return ( @@ -193,7 +193,7 @@ function GridView({ )} > <MultiBookmarkSelector bookmark={bookmark} /> - {img && <div className="h-52 w-full shrink-0 overflow-hidden">{img}</div>} + {img && <div className="h-56 w-full shrink-0 overflow-hidden">{img}</div>} <div className="flex h-full flex-col justify-between gap-2 overflow-hidden p-2"> <div className="grow-1 flex flex-col gap-2 overflow-hidden"> {showTitle && title && ( |
