about summary refs log tree commit diff
path: root/src/view/com/pager/TabBar.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-18 12:05:32 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-05-18 12:05:32 -0500
commitacea0e074d75ac549abb01dc4ac16573a43ad7fa (patch)
treed5f779be2a27735c9d312d4cca09f5af58cb3103 /src/view/com/pager/TabBar.tsx
parent754496b957e7e6cb26a12a70f4d59101a09e92b2 (diff)
downloadvoidsky-acea0e074d75ac549abb01dc4ac16573a43ad7fa.tar.zst
Tab bar fixes
Diffstat (limited to 'src/view/com/pager/TabBar.tsx')
-rw-r--r--src/view/com/pager/TabBar.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx
index fe76a08b6..f6c41ce7c 100644
--- a/src/view/com/pager/TabBar.tsx
+++ b/src/view/com/pager/TabBar.tsx
@@ -10,7 +10,7 @@ import {StyleSheet, View, ScrollView} from 'react-native'
 import {Text} from '../util/text/Text'
 import {PressableWithHover} from '../util/PressableWithHover'
 import {usePalette} from 'lib/hooks/usePalette'
-import {isDesktopWeb} from 'platform/detection'
+import {isDesktopWeb, isWeb} from 'platform/detection'
 
 export interface TabBarProps {
   testID?: string
@@ -120,9 +120,9 @@ const styles = isDesktopWeb
     })
   : StyleSheet.create({
       outer: {
+        flex: 1,
         flexDirection: 'row',
         paddingLeft: 14,
-        paddingRight: 24,
       },
       item: {
         paddingTop: 8,