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): round the intervention bar footer's bottom corners (#21287)

Arvin Xu4b13ffe6d9e2
diff --git a/src/features/Conversation/InterventionBar/style.ts b/src/features/Conversation/InterventionBar/style.ts
index 8db1c318bd2..911d8681c21 100644
--- a/src/features/Conversation/InterventionBar/style.ts
+++ b/src/features/Conversation/InterventionBar/style.ts
@@ -5,6 +5,12 @@ export const styles = createStaticStyles(({ css, cssVar }) => ({
padding-block: 8px 10px;
padding-inline: 10px;
border-block-start: 1px solid ${cssVar.colorBorderSecondary};
+
+ /* ChatInput rounds its border without clipping, so this tinted strip would
+ paint square over the card's bottom corners. Sits inside the 1px border. */
+ border-end-start-radius: calc(${cssVar.borderRadiusLG} - 1px);
+ border-end-end-radius: calc(${cssVar.borderRadiusLG} - 1px);
+
background: color-mix(in srgb, ${cssVar.colorBgElevated} 92%, ${cssVar.colorFillSecondary});
&:empty {