From 113e70e176a112ecd8d1c842624a2647fb24cb34 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 7 Dec 2023 22:20:06 +0000 Subject: [PATCH] Clean up 1 --- src/Navigation.tsx | 7 ++++++- src/view/shell/bottom-bar/BottomBarStyles.tsx | 4 ++++ src/view/shell/bottom-bar/BottomBarWeb.tsx | 2 +- src/view/shell/index.web.tsx | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Navigation.tsx b/src/Navigation.tsx index ac16f3ac2d..b2d53df9a9 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -30,6 +30,7 @@ import {colors} from 'lib/styles' import {isNative} from 'platform/detection' import {useColorSchemeStyle} from 'lib/hooks/useColorSchemeStyle' import {router} from './routes' +import {s} from 'lib/styles' import {usePalette} from 'lib/hooks/usePalette' import {bskyTitle} from 'lib/strings/headings' import {JSX} from 'react/jsx-runtime' @@ -394,7 +395,7 @@ const FlatNavigator = () => { fullScreenGestureEnabled: true, headerShown: false, animationDuration: 250, - contentStyle: [pal.view, {flex: 'none'}], + contentStyle: [pal.view, styles.webContainer], }}> {({isActive}) => { diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index 3a17b4502b..9d2e2adddb 100644 --- a/src/view/shell/index.web.tsx +++ b/src/view/shell/index.web.tsx @@ -33,7 +33,7 @@ function ShellInner() { }, [navigator, closeAllActiveElements]) return ( - +