diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-01-26 11:48:04 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-02-01 10:44:54 +0000 |
| commit | a6271a0352f326389b40fecb476e8e3361ec7b49 (patch) | |
| tree | bccd5c0e1f1476b041ce8491c326647a5502420c /apps/mobile/app/dashboard/(tabs) | |
| parent | 9decab898983bc132835d4c517fc02aa695cb4af (diff) | |
| download | karakeep-a6271a0352f326389b40fecb476e8e3361ec7b49.tar.zst | |
fix(mobile): fix mobile list styling
Diffstat (limited to 'apps/mobile/app/dashboard/(tabs)')
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/lists.tsx | 6 | ||||
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/tags.tsx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/mobile/app/dashboard/(tabs)/lists.tsx b/apps/mobile/app/dashboard/(tabs)/lists.tsx index 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.tsx index 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"> <Link asChild key={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"> |
