Skip to content

Commit 8189635

Browse files
committed
fix: Fixed initWidth not working in NavigationView
Close #17
1 parent 8b953aa commit 8189635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NavigationView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ function getStyles(NavigationView: NavigationView): {
389389
justifyContent: "space-between",
390390
background: currBackground,
391391
overflow: isMinimal ? void 0 : "hidden",
392-
width: expanded ? expandedWidth : (isMinimal ? 0 : 48),
392+
width: expanded ? expandedWidth : (isMinimal ? 0 : currInitWidth),
393393
...(isMinimal ? {
394394
position: "absolute",
395395
top: 0,

0 commit comments

Comments
 (0)