A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): fix vertical image rendering in bookmark info
Mohamed Bassem482369b7186a
diff --git a/apps/mobile/components/bookmarks/BookmarkAssetView.tsx b/apps/mobile/components/bookmarks/BookmarkAssetView.tsxindex e009a027..a76724bf 100644--- a/apps/mobile/components/bookmarks/BookmarkAssetView.tsx+++ b/apps/mobile/components/bookmarks/BookmarkAssetView.tsx@@ -45,10 +45,11 @@ export default function BookmarkAssetView({images={[assetSource]}/>- <Pressable onPress={() => setImageZoom(true)}>+ <Pressable className="flex-1" onPress={() => setImageZoom(true)}><BookmarkAssetImageassetId={bookmark.content.assetId}- className="h-56 min-h-56 w-full"+ className="h-full w-full"+ contentFit="contain"/></Pressable></View>diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsxindex f01c11b2..a600ec2c 100644--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx@@ -185,7 +185,8 @@ function useAssetCardContext({media: (<BookmarkAssetImageassetId={assetImage}- className="h-56 min-h-56 w-full"+ className="h-56 min-h-56 w-full bg-muted"+ contentFit="contain"/>),compactMedia: (