Tab bar fixes

zio/stable
Paul Frazee 2023-05-18 12:05:32 -05:00
parent 754496b957
commit acea0e074d
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ const styles = StyleSheet.create({
top: 0, top: 0,
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
paddingHorizontal: 18, paddingLeft: 18,
borderBottomWidth: 1, borderBottomWidth: 1,
}, },
tabBarAvi: { tabBarAvi: {

View File

@ -10,7 +10,7 @@ import {StyleSheet, View, ScrollView} from 'react-native'
import {Text} from '../util/text/Text' import {Text} from '../util/text/Text'
import {PressableWithHover} from '../util/PressableWithHover' import {PressableWithHover} from '../util/PressableWithHover'
import {usePalette} from 'lib/hooks/usePalette' import {usePalette} from 'lib/hooks/usePalette'
import {isDesktopWeb} from 'platform/detection' import {isDesktopWeb, isWeb} from 'platform/detection'
export interface TabBarProps { export interface TabBarProps {
testID?: string testID?: string
@ -120,9 +120,9 @@ const styles = isDesktopWeb
}) })
: StyleSheet.create({ : StyleSheet.create({
outer: { outer: {
flex: 1,
flexDirection: 'row', flexDirection: 'row',
paddingLeft: 14, paddingLeft: 14,
paddingRight: 24,
}, },
item: { item: {
paddingTop: 8, paddingTop: 8,