Skip to content

Commit aa8840a

Browse files
authored
Merge pull request #61679 from software-mansion-labs/@adamgrzybowski/fix-narrrow-web-navbar-padding
[CP Staging] Fix: Padding for navigation bar on narrow layout
2 parents a957d55 + 110febc commit aa8840a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/Navigation/AppNavigator/useSplitNavigatorScreenOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const useSplitNavigatorScreenOptions = () => {
4040

4141
// We need to shift the sidebar to not be covered by the StackNavigator so it can be clickable.
4242
marginLeft: shouldUseNarrowLayout ? 0 : -(variables.sideBarWithLHBWidth + variables.navigationTabBarSize),
43-
paddingLeft: variables.navigationTabBarSize,
43+
paddingLeft: shouldUseNarrowLayout ? 0 : variables.navigationTabBarSize,
4444
...(shouldUseNarrowLayout ? {} : themeStyles.borderRight),
4545
},
4646
},

0 commit comments

Comments
 (0)