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.

💄 style(conversation): let the message list run under the chat input's rounded corners (#20930)

Inneid5e0ce1cbe15
diff --git a/src/features/Conversation/SplitDropZone/index.tsx b/src/features/Conversation/SplitDropZone/index.tsx
index 4464c43c954..a66c3c92c27 100644
--- a/src/features/Conversation/SplitDropZone/index.tsx
+++ b/src/features/Conversation/SplitDropZone/index.tsx
@@ -15,7 +15,11 @@ const styles = createStaticStyles(({ css }) => ({
position: absolute;
z-index: 20;
- inset: 8px;
+
+ /* The chat input below overlaps this zone's last 12px, so the bottom
+ inset clears it to keep the highlight off the input. */
+ inset-block: 8px 16px;
+ inset-inline: 8px;
border: 2px dashed ${cssVar.colorInfoBorder};
border-radius: ${cssVar.borderRadiusLG};
@@ -27,7 +31,6 @@ const styles = createStaticStyles(({ css }) => ({
position: relative;
flex: 1;
min-height: 0;
- margin-block-end: 8px;
`,
}));