A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): fix mobile list styling
Mohamed Bassema6271a0352f3
diff --git a/apps/mobile/app/dashboard/(tabs)/lists.tsx b/apps/mobile/app/dashboard/(tabs)/lists.tsxindex 6b18e2c7..2e107868 100644--- a/apps/mobile/app/dashboard/(tabs)/lists.tsx+++ b/apps/mobile/app/dashboard/(tabs)/lists.tsx@@ -177,11 +177,11 @@ export default function Lists() {</View>}contentContainerStyle={{- gap: 5,+ gap: 6,}}renderItem={(l) => (<View- className="mx-2 flex flex-row items-center rounded-xl border border-input bg-card px-4 py-2"+ className="mx-2 flex flex-row items-center rounded-xl bg-card px-4 py-2"style={condProps({condition: l.item.level > 0,props: { marginLeft: l.item.level * 20 },@@ -234,7 +234,7 @@ export default function Lists() {className="flex-1"><Pressable className="flex flex-row items-center justify-between">- <Text>+ <Text className="shrink">{l.item.logo} {l.item.name}</Text><ChevronRight />diff --git a/apps/mobile/app/dashboard/(tabs)/tags.tsx b/apps/mobile/app/dashboard/(tabs)/tags.tsxindex 7f3e4ac7..c0ac2d49 100644--- a/apps/mobile/app/dashboard/(tabs)/tags.tsx+++ b/apps/mobile/app/dashboard/(tabs)/tags.tsx@@ -88,17 +88,17 @@ export default function Tags() {</View>}contentContainerStyle={{- gap: 5,+ gap: 6,}}renderItem={(item) => (- <View className="mx-2 flex flex-row items-center rounded-xl border border-input bg-card px-4 py-2">+ <View className="mx-2 flex flex-row items-center rounded-xl bg-card px-4 py-2"><LinkasChildkey={item.item.id}href={item.item.href}className="flex-1">- <Pressable className="flex flex-row justify-between">+ <Pressable className="flex flex-row items-center justify-between"><View className="flex-1"><Text className="font-medium">{item.item.name}</Text><Text className="text-sm text-muted-foreground">diff --git a/apps/mobile/app/dashboard/bookmarks/[slug]/manage_lists.tsx b/apps/mobile/app/dashboard/bookmarks/[slug]/manage_lists.tsxindex cc6db014..8402bb0b 100644--- a/apps/mobile/app/dashboard/bookmarks/[slug]/manage_lists.tsx+++ b/apps/mobile/app/dashboard/bookmarks/[slug]/manage_lists.tsx@@ -92,7 +92,7 @@ const ListPickerPage = () => {<FlatListclassName="h-full"contentContainerStyle={{- gap: 5,+ gap: 6,}}renderItem={(l) => {const listId = l.item[l.item.length - 1].id;@@ -100,14 +100,14 @@ const ListPickerPage = () => {const isChecked = existingLists && existingLists.has(listId);return (- <View className="mx-2 flex flex-row items-center rounded-xl border border-input bg-card px-4 py-2">+ <View className="mx-2 flex flex-row items-center rounded-xl bg-card px-4 py-2"><Pressablekey={listId}onPress={() => !isLoading && toggleList(listId)}disabled={isLoading}- className="flex w-full flex-row justify-between"+ className="flex w-full flex-row items-center justify-between">- <Text>+ <Text className="shrink">{l.item.map((item) => `${item.icon} ${item.name}`).join(" / ")}diff --git a/apps/mobile/app/dashboard/bookmarks/[slug]/manage_tags.tsx b/apps/mobile/app/dashboard/bookmarks/[slug]/manage_tags.tsxindex a4575b27..984bc224 100644--- a/apps/mobile/app/dashboard/bookmarks/[slug]/manage_tags.tsx+++ b/apps/mobile/app/dashboard/bookmarks/[slug]/manage_tags.tsx@@ -165,7 +165,7 @@ const ListPickerPage = () => {contentInsetAdjustmentBehavior="automatic"keyExtractor={(t) => t.id}contentContainerStyle={{- gap: 5,+ gap: 6,}}SectionSeparatorComponent={() => <View className="h-1" />}sections={[@@ -207,7 +207,7 @@ const ListPickerPage = () => {})}>- <View className="mx-2 flex flex-row items-center gap-2 rounded-xl border border-input bg-card px-4 py-2">+ <View className="mx-2 flex flex-row items-center gap-2 rounded-xl bg-card px-4 py-2">{t.section.title == "Existing Tags" && (<Check color={colors.foreground} />)}