ui(admin): fix user sidebar alignment when collapsed
This commit is contained in:
parent
fffe3a7f8b
commit
27ed07e81f
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ const Sidebar = styled.div<{ collapsed?: boolean }>`
|
|||
& > div.user {
|
||||
${tw`h-16 w-full flex items-center bg-neutral-700`};
|
||||
${props => !props.collapsed && tw`mt-auto px-5`};
|
||||
${props => props.collapsed && tw`justify-center`};
|
||||
|
||||
& > div, a {
|
||||
${props => props.collapsed && tw`hidden`};
|
||||
|
|
Loading…
Reference in a new issue