From 110febc0c13b4904be012d90052fafbd3120fdc5 Mon Sep 17 00:00:00 2001 From: Adam Grzybowski Date: Thu, 8 May 2025 12:33:40 +0200 Subject: [PATCH] fix: padding for navbar on narrow layout --- .../Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts b/src/libs/Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts index 38d97115b70d..0b771550b6a7 100644 --- a/src/libs/Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts +++ b/src/libs/Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts @@ -40,7 +40,7 @@ const useSplitNavigatorScreenOptions = () => { // We need to shift the sidebar to not be covered by the StackNavigator so it can be clickable. marginLeft: shouldUseNarrowLayout ? 0 : -(variables.sideBarWithLHBWidth + variables.navigationTabBarSize), - paddingLeft: variables.navigationTabBarSize, + paddingLeft: shouldUseNarrowLayout ? 0 : variables.navigationTabBarSize, ...(shouldUseNarrowLayout ? {} : themeStyles.borderRight), }, },