Fix sizing on smaller phones

This commit is contained in:
Paul Frazee 2022-11-16 14:05:21 -06:00
parent fec1589f7c
commit 0b7b91d5fd
7 changed files with 32 additions and 21 deletions

View file

@ -220,7 +220,7 @@ export const MobileShell: React.FC = observer(() => {
</ScreenContainer>
</GestureDetector>
</SafeAreaView>
<View style={styles.bottomBar}>
<SafeAreaView style={styles.bottomBar}>
<Btn icon="house" onPress={onPressHome} />
<Btn icon="search" onPress={onPressSearch} />
<Btn icon="menu" onPress={onPressMenu} />
@ -230,7 +230,7 @@ export const MobileShell: React.FC = observer(() => {
notificationCount={store.me.notificationCount}
/>
<Btn icon={['far', 'clone']} onPress={onPressTabs} />
</View>
</SafeAreaView>
<MainMenu
active={isMainMenuActive}
onClose={() => setMainMenuActive(false)}
@ -373,7 +373,6 @@ const styles = StyleSheet.create({
borderTopColor: colors.gray2,
paddingLeft: 5,
paddingRight: 15,
paddingBottom: 20,
},
ctrl: {
flex: 1,