🤯 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: align disabled model action with notice (#18853)
YuTengjing373b4d606875
diff --git a/src/features/ChatInput/ChatInputNotice/index.tsx b/src/features/ChatInput/ChatInputNotice/index.tsxindex a7d34a99921..aff81dfe75e 100644--- a/src/features/ChatInput/ChatInputNotice/index.tsx+++ b/src/features/ChatInput/ChatInputNotice/index.tsx@@ -59,6 +59,12 @@ const styles = createStaticStyles(({ css, cssVar }) => ({`,}));+/**+ * Base Alert fills the available width, which pushes its action away from the notice text.+ * Keep this notice content-sized while its max-width rule handles long translations.+ */+const alertStyle = { fontSize: 12, width: 'fit-content' } as const;+const ChatInputNotice = memo(() => {const { t } = useTranslation('chat');const notice = useChatInputNotice();@@ -91,7 +97,7 @@ const ChatInputNotice = memo(() => {<Alertaction={action}classNames={{ alert: cx(styles.alert), title: styles.title }}- style={{ fontSize: 12 }}+ style={alertStyle}title={t(notice.key)}type={notice.type}variant={'borderless'}