forked from Alex/Pterodactyl-Panel
ui(admin): fix user sidebar alignment when collapsed
This commit is contained in:
parent
fffe3a7f8b
commit
27ed07e81f
@ -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 New Issue
Block a user