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: align tool debug panel layout (#17142)

Innei5cc58c56f018
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Debug/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Debug/index.tsx
index b32816372db..cb510a2a359 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Debug/index.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Debug/index.tsx
@@ -151,16 +151,26 @@ const Debug = memo<DebugProps>(
);
return (
- <Block variant={'outlined'}>
+ <Block style={{ overflow: 'hidden' }} variant={'outlined'}>
<Tabs
items={items}
orientation={'vertical'}
- size={'small'}
+ size={'middle'}
styles={{
+ list: {
+ borderRadius: 0,
+ },
panel: {
+ flex: 'auto',
height: 300,
+ minHeight: 0,
+ minWidth: 0,
padding: 0,
},
+ tab: {
+ justifyContent: 'flex-start',
+ textAlign: 'start',
+ },
}}
/>
</Block>