diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 00:08:44 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 00:08:44 -0700 |
commit | 007c523010503e01345753f53ce90128dd8f6f15 (patch) | |
tree | b2ef4a6b9bdb16bc618edef196ec41398d36e446 /src/view/com/pager/TabBar.tsx | |
parent | 6f02548bca0ea918d9caec3e71068032ff119a75 (diff) | |
download | voidsky-007c523010503e01345753f53ce90128dd8f6f15.tar.zst |
add top bar and link to new SavedScreen
Diffstat (limited to 'src/view/com/pager/TabBar.tsx')
-rw-r--r-- | src/view/com/pager/TabBar.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx index cebf58b48..caca9f926 100644 --- a/src/view/com/pager/TabBar.tsx +++ b/src/view/com/pager/TabBar.tsx @@ -80,6 +80,7 @@ export function TabBar({ horizontal={true} showsHorizontalScrollIndicator={false} ref={scrollElRef} + contentContainerStyle={styles.contentContainer} onLayout={onLayout}> {items.map((item, i) => { const selected = i === selectedPage @@ -111,6 +112,7 @@ const styles = isDesktopWeb width: 598, paddingHorizontal: 14, }, + contentContainer: {}, item: { paddingTop: 14, paddingBottom: 12, @@ -123,12 +125,14 @@ const styles = isDesktopWeb outer: { flex: 1, flexDirection: 'row', - paddingLeft: 14, + }, + contentContainer: { + gap: 14, + paddingHorizontal: 18, }, item: { paddingTop: 8, paddingBottom: 12, - marginRight: 24, borderBottomWidth: 3, borderBottomColor: 'transparent', }, |