Skip to content

Commit

Permalink
fix: Fixed initWidth not working in NavigationView
Browse files Browse the repository at this point in the history
Close #17
  • Loading branch information
myxvisual committed Aug 16, 2017
1 parent 8b953aa commit 8189635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NavigationView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ function getStyles(NavigationView: NavigationView): {
justifyContent: "space-between",
background: currBackground,
overflow: isMinimal ? void 0 : "hidden",
width: expanded ? expandedWidth : (isMinimal ? 0 : 48),
width: expanded ? expandedWidth : (isMinimal ? 0 : currInitWidth),
...(isMinimal ? {
position: "absolute",
top: 0,
Expand Down

0 comments on commit 8189635

Please sign in to comment.