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(portal): use cssVar.borderRadiusLG on localfile floating controls (#17568)

Inneicf93106756c4
diff --git a/src/features/Portal/LocalFile/Body.tsx b/src/features/Portal/LocalFile/Body.tsx
index 280aa14a582..27c6073c840 100644
--- a/src/features/Portal/LocalFile/Body.tsx
+++ b/src/features/Portal/LocalFile/Body.tsx
@@ -130,7 +130,7 @@ const floatingControlsStyles = createStaticStyles(({ css }) => ({
padding: 4px;
border: 1px solid ${cssVar.colorBorderSecondary};
- border-radius: 8px;
+ border-radius: ${cssVar.borderRadiusLG};
opacity: 0.55;
background: ${cssVar.colorBgElevated};
@@ -287,6 +287,7 @@ const TextPreviewPane = memo<TextPreviewPaneProps>(
onClick={handleReloadPreview}
/>
)}
+
<Tabs
activeKey={mode}
size={'small'}