A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
mobile: Revert the margins around the cards
MohamedBassem5953ef044e21
diff --git a/apps/mobile/app/dashboard/(tabs)/lists.tsx b/apps/mobile/app/dashboard/(tabs)/lists.tsxindex a293757b..4a0a6948 100644--- a/apps/mobile/app/dashboard/(tabs)/lists.tsx+++ b/apps/mobile/app/dashboard/(tabs)/lists.tsx@@ -48,8 +48,8 @@ export default function Lists() {return (<FlatListcontentContainerStyle={{- gap: 10,- marginTop: 10,+ gap: 5,+ marginTop: 5,}}renderItem={(l) => (<View className="mx-2 block rounded-xl border border-gray-100 bg-white px-4 py-2">diff --git a/apps/mobile/app/dashboard/(tabs)/search.tsx b/apps/mobile/app/dashboard/(tabs)/search.tsxindex 0025262e..043dffab 100644--- a/apps/mobile/app/dashboard/(tabs)/search.tsx+++ b/apps/mobile/app/dashboard/(tabs)/search.tsx@@ -27,7 +27,7 @@ export default function Search() {autoFocusautoCapitalize="none"/>- <Divider orientation="horizontal" className="mb-1 mt-4 w-full" />+ <Divider orientation="horizontal" className="mt-4 w-full" />{data && <BookmarkList ids={data.bookmarks.map((b) => b.id)} />}</View>);diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsxindex 93a059f8..2189b385 100644--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx@@ -151,7 +151,7 @@ function LinkCard({ bookmark }: { bookmark: ZBookmark }) {const imageComp = bookmark.content.imageUrl ? (<Imagesource={{ uri: bookmark.content.imageUrl }}- className="h-56 min-h-56 w-full rounded-t-lg object-cover"+ className="h-56 min-h-56 w-full object-cover"/>) : (<Image@@ -237,7 +237,7 @@ export default function BookmarkCard({}return (- <View className="w-96 rounded-lg border border-gray-300 bg-white shadow-sm">+ <View className="border-b border-gray-300 bg-white">{comp}</View>);diff --git a/apps/mobile/components/bookmarks/BookmarkList.tsx b/apps/mobile/components/bookmarks/BookmarkList.tsxindex 79d3d79e..0c8ddb3c 100644--- a/apps/mobile/components/bookmarks/BookmarkList.tsx+++ b/apps/mobile/components/bookmarks/BookmarkList.tsx@@ -42,12 +42,11 @@ export default function BookmarkList({itemLayoutAnimation={LinearTransition}contentContainerStyle={{gap: 15,- marginVertical: 15,- alignItems: "center",+ marginBottom: 15,}}renderItem={(b) => <BookmarkCard bookmark={b.item} />}ListEmptyComponent={- <View className="h-full items-center justify-center">+ <View className="h-full pt-4 items-center justify-center"><Text className="text-xl">No Bookmarks</Text></View>}diff --git a/apps/mobile/package.json b/apps/mobile/package.jsonindex 80036724..ead5e796 100644--- a/apps/mobile/package.json+++ b/apps/mobile/package.json@@ -9,7 +9,6 @@"ios": "expo run:ios","web": "expo start --web","lint": "eslint .",- "format": "prettier --check . --ignore-path .gitignore","typecheck": "tsc --noEmit"},"dependencies": {