Layout fixes

This commit is contained in:
Dan Abramov
2023-12-08 01:34:31 +00:00
parent f58487efc9
commit ccc287274e
2 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -394,7 +394,7 @@ const FlatNavigator = () => {
fullScreenGestureEnabled: true, fullScreenGestureEnabled: true,
headerShown: false, headerShown: false,
animationDuration: 250, animationDuration: 250,
contentStyle: [pal.view, styles.webContainer], contentStyle: [pal.view],
}}> }}>
<Flat.Screen <Flat.Screen
name="Home" name="Home"
@@ -592,10 +592,6 @@ function handleLink(url: string) {
} }
const styles = StyleSheet.create({ const styles = StyleSheet.create({
webContainer: {
// @ts-ignore web-only
flex: '',
},
bgDark: { bgDark: {
backgroundColor: colors.black, backgroundColor: colors.black,
}, },
+4 -4
View File
@@ -33,12 +33,12 @@ function ShellInner() {
}, [navigator, closeAllActiveElements]) }, [navigator, closeAllActiveElements])
return ( return (
<View style={s.hContentRegion}> <>
<View style={s.hContentRegion}> <>
<ErrorBoundary> <ErrorBoundary>
<FlatNavigator /> <FlatNavigator />
</ErrorBoundary> </ErrorBoundary>
</View> </>
<Composer winHeight={0} /> <Composer winHeight={0} />
<ModalsContainer /> <ModalsContainer />
<Lightbox /> <Lightbox />
@@ -53,7 +53,7 @@ function ShellInner() {
</View> </View>
</TouchableOpacity> </TouchableOpacity>
)} )}
</View> </>
) )
} }