Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

fix styling

Vasek Mlejnsky4fb761a96c8b
diff --git a/components/AgentChallengeTag.tsx b/components/AgentChallengeTag.tsx
index abbf2ccaf..67d9a07fc 100644
--- a/components/AgentChallengeTag.tsx
+++ b/components/AgentChallengeTag.tsx
@@ -11,7 +11,7 @@ function AgentChallengeTag({
return (
<span
className={clsx(
- 'flex items-center justify-center h-6 px-2 rounded-md text-xs border',
+ 'flex items-center justify-center h-6 px-2 rounded-md text-xs border shrink-0',
tag.severity === 'Success' && 'bg-green-500/10 border-green-500/20 text-green-500',
tag.severity === 'Warning' && 'bg-orange-500/10 border-orange-500/20 text-orange-500',
tag.severity === 'Error' && 'bg-red-500/10 border-red-500/20 text-red-500',