Skip to content

Commit

Permalink
Fix LHP animation on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Dec 18, 2023
1 parent 648c000 commit bc38b46
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default (isSmallScreenWidth: boolean, themeStyles: ThemeStyles): ScreenOp
// This is necessary to cover translated sidebar with overlay.
width: isSmallScreenWidth ? '100%' : '200%',

transform: [{translateX: isSmallScreenWidth ? 0 : -variables.sideBarWidth}],
// LHP should be displayed in place of the sidebar
left: isSmallScreenWidth ? 0 : -variables.sideBarWidth,
},
},
homeScreen: {
Expand Down

0 comments on commit bc38b46

Please sign in to comment.