🤯 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
🐛 fix(nav-panel): keep the empty nav row title on one line (#21823)
Lobehub Coderea58968e9620
diff --git a/src/features/NavPanel/components/EmptyNavItem.tsx b/src/features/NavPanel/components/EmptyNavItem.tsxindex e34ef0cc865..d370b0d5335 100644--- a/src/features/NavPanel/components/EmptyNavItem.tsx+++ b/src/features/NavPanel/components/EmptyNavItem.tsx@@ -26,7 +26,13 @@ const EmptyNavItem = memo<EmptyStatusProps>(({ title, onClick, className, disabl<Center flex={'none'} height={28} width={28}><Icon icon={PlusIcon} size={'small'} /></Center>- <Text align={'center'} type={'secondary'}>+ {/* One line like a NavItem: a long title (e.g. in a narrow sidebar) truncates+ instead of wrapping out of the fixed-height row. */}+ <Text+ ellipsis={{ tooltipWhenOverflow: true }}+ style={{ flex: 1, minWidth: 0 }}+ type={'secondary'}+ >{title}</Text></Block>