Skip to content

Commit 9a89b2b

Browse files
committed
nav: improve sidebar collapse animation
1 parent 6b069e8 commit 9a89b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/components/layout/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Styled = {
4242
4343
/* change sidebar dimensions based on collapsed toggle */
4444
width: ${props => (props.collapsed ? '0' : '285px')};
45-
padding: ${props => (props.collapsed ? '0' : '15px')};
45+
padding: ${props => (props.collapsed ? '0' : '0 15px')};
4646
transition: all 0.2s;
4747
4848
/* set a width on the child to improve the collapse animation */

0 commit comments

Comments
 (0)