Skip to content

armgit / E2B

Public Imported from GitHub
0

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

styling

Vasek Mlejnsky127c849d06d8
diff --git a/components/AgentRunsList.tsx b/components/AgentRunsList.tsx
index 8342a2a30..22b21410d 100644
--- a/components/AgentRunsList.tsx
+++ b/components/AgentRunsList.tsx
@@ -91,7 +91,11 @@ function AgentRunsList({
<div key={a.project.id} className="flex flex-col space-y-2">
<div className="group flex items-center space-x-2 px-4 sm:px-6 lg:px-8">
<div
- className="p-1 cursor-pointer bg-gray-800 hover:bg-gray-700 transition-all rounded-md"
+ className={clsx(
+ 'p-1 cursor-pointer hover:bg-gray-700 transition-all rounded-md',
+ selectedAgentID === a.project.id && 'bg-gray-700',
+ selectedAgentID !== a.project.id && 'bg-gray-800',
+ )}
onClick={() => toggleSelectedAgentID(a.project.id)}
>
<ChevronRight size={15} className={clsx(
diff --git a/pages/index.tsx b/pages/index.tsx
index fa25580f6..62f45e411 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -335,7 +335,7 @@ function Home({ projects }: Props) {
className="group ml-auto flex items-center space-x-1 cursor-pointer transition-all py-1 px-2 rounded-md bg-gray-900 border border-white/5 hover:border-white/10"
>
<MessageCircle size={14} className="text-gray-400 group-hover:text-gray-100 transition-all" />
- <span className="text-sm text-gray-400 group-hover:text-gray-100 transition-all">Complain to CEO</span>
+ <span className="text-sm text-gray-400 group-hover:text-gray-100 transition-all">Complain to the CEO</span>
</button>
</div>