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,
headerShown: false,
animationDuration: 250,
contentStyle: [pal.view, styles.webContainer],
contentStyle: [pal.view],
}}>
<Flat.Screen
name="Home"
@@ -592,10 +592,6 @@ function handleLink(url: string) {
}
const styles = StyleSheet.create({
webContainer: {
// @ts-ignore web-only
flex: '',
},
bgDark: {
backgroundColor: colors.black,
},
+4 -4
View File
@@ -33,12 +33,12 @@ function ShellInner() {
}, [navigator, closeAllActiveElements])
return (
<View style={s.hContentRegion}>
<View style={s.hContentRegion}>
<>
<>
<ErrorBoundary>
<FlatNavigator />
</ErrorBoundary>
</View>
</>
<Composer winHeight={0} />
<ModalsContainer />
<Lightbox />
@@ -53,7 +53,7 @@ function ShellInner() {
</View>
</TouchableOpacity>
)}
</View>
</>
)
}