diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-13 12:13:38 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-13 12:34:07 +0000 |
| commit | 408984d9325f12937ac5747505370dec26e46d3f (patch) | |
| tree | f8a0f047776259ba24c7058aaf4efffc856ad978 /packages/mobile/components/bookmarks/BookmarkList.tsx | |
| parent | a91ebf1353432d8dced29049b26df5eea7ee39d9 (diff) | |
| download | karakeep-408984d9325f12937ac5747505370dec26e46d3f.tar.zst | |
mobile: Add borders and padding to the cards
Diffstat (limited to 'packages/mobile/components/bookmarks/BookmarkList.tsx')
| -rw-r--r-- | packages/mobile/components/bookmarks/BookmarkList.tsx | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/packages/mobile/components/bookmarks/BookmarkList.tsx b/packages/mobile/components/bookmarks/BookmarkList.tsx index 130c8924..519ec47c 100644 --- a/packages/mobile/components/bookmarks/BookmarkList.tsx +++ b/packages/mobile/components/bookmarks/BookmarkList.tsx @@ -46,17 +46,16 @@ export default function BookmarkList({ } return ( - <View className="px-3"> - <FlatList - contentContainerStyle={{ - marginTop: 10, - gap: 10, - }} - renderItem={(b) => <BookmarkCard key={b.item.id} bookmark={b.item} />} - data={data.bookmarks} - refreshing={refreshing} - onRefresh={onRefresh} - /> - </View> + <FlatList + contentContainerStyle={{ + gap: 15, + marginVertical: 15, + alignItems: "center", + }} + renderItem={(b) => <BookmarkCard key={b.item.id} bookmark={b.item} />} + data={data.bookmarks} + refreshing={refreshing} + onRefresh={onRefresh} + /> ); } |
