Skip to content

Commit

Permalink
Merge pull request #32772 from bernhardoj/fix/31573-sidebar-text-sele…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
francoisl authored Dec 11, 2023
2 parents fad9f53 + ebe070f commit eef4903
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default (isSmallScreenWidth: boolean, themeStyles: ThemeStyles): ScreenOp
...getNavigationModalCardStyle(),
width: isSmallScreenWidth ? '100%' : variables.sideBarWidth,

// We need to translate the sidebar to not be covered by the StackNavigator so it can be clickable.
transform: [{translateX: isSmallScreenWidth ? 0 : -variables.sideBarWidth}],
// We need to shift the sidebar to not be covered by the StackNavigator so it can be clickable.
marginLeft: isSmallScreenWidth ? 0 : -variables.sideBarWidth,
...(isSmallScreenWidth ? {} : themeStyles.borderRight),
},
},
Expand Down

0 comments on commit eef4903

Please sign in to comment.