🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(user-panel): even out the header spacing and keep the last row off the bottom edge (#22655)
Lobehub Coder4e48d81f5f16
diff --git a/src/features/User/UserPanel/PanelContent.tsx b/src/features/User/UserPanel/PanelContent.tsxindex 4024bd27ff0..8105e0d933c 100644--- a/src/features/User/UserPanel/PanelContent.tsx+++ b/src/features/User/UserPanel/PanelContent.tsx@@ -35,10 +35,14 @@ const PanelContent: FC<{ closePopover: () => void }> = ({ closePopover }) => {};return (- <Flexbox gap={2} style={{ minWidth: 300 }}>+ // lobe-ui List rows carry no outer padding, so the panel keeps a 4px bottom+ // inset (matching the rows' 4px side inset) or the last row sits on the edge.+ <Flexbox gap={2} paddingBlock={'0 4px'} style={{ minWidth: 300 }}>{isDesktop || isLoginWithAuth ? (<>- <UserInfo avatarProps={{ clickable: false }} />+ {/* The section below opens with gap + divider margin (6px), so a 6px bottom+ padding keeps the header's space below the avatar equal to the 12px above. */}+ <UserInfo avatarProps={{ clickable: false }} paddingBlock={'12px 6px'} /><UserPanelStatistics />{enableBusinessFeatures && <BusinessPanelContent />}<UserPanelWorkspaceSection onSwitch={closePopover} />