Shell bars

This commit is contained in:
Dan Abramov
2023-12-07 05:21:32 +00:00
parent a23929238b
commit 8c81407ca9
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -134,7 +134,8 @@ function FeedsTabBarTablet(
const styles = StyleSheet.create({
tabBar: {
position: 'absolute',
// @ts-ignore Web only
position: 'fixed',
zIndex: 1,
// @ts-ignore Web only -prf
left: 'calc(50% - 299px)',
+1 -1
View File
@@ -124,7 +124,7 @@ export function FeedsTabBar(
const styles = StyleSheet.create({
tabBar: {
position: 'absolute',
position: isWeb ? 'fixed' : 'absolute',
zIndex: 1,
left: 0,
right: 0,
@@ -37,6 +37,7 @@ export function BottomBarWeb() {
pal.border,
{paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)},
footerMinimalShellTransform,
{position: 'fixed'},
]}>
<NavItem routeName="Home" href="/">
{({isActive}) => {