Skip to content

🤯 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.

💄 fix(chat-input): fix MentionMenu scroll area clipping caused by container padding (#14533)

Innei1bc8d599225b
diff --git a/src/features/ChatInput/InputEditor/MentionMenu/style.ts b/src/features/ChatInput/InputEditor/MentionMenu/style.ts
index 653efecdf05..7e14a013272 100644
--- a/src/features/ChatInput/InputEditor/MentionMenu/style.ts
+++ b/src/features/ChatInput/InputEditor/MentionMenu/style.ts
@@ -136,5 +136,7 @@ export const styles = createStaticStyles(({ css, cssVar }) => ({
scrollArea: css`
overflow-y: auto;
flex: 1;
+ margin: -4px;
+ padding: 4px;
`,
}));