Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix modal height overflow

Tomas Valenta10bfcec60aec
diff --git a/components/AgentChallengeTagButton.tsx b/components/AgentChallengeTagButton.tsx
index add98bf1e..619f1c0c2 100644
--- a/components/AgentChallengeTagButton.tsx
+++ b/components/AgentChallengeTagButton.tsx
@@ -28,7 +28,7 @@ function AgentChallengeTagButton({
}
return (
- <div className="relative">
+ <div>
<button
className="flex items-center justify-center text-xs shrink-0 text-gray-400 bg-[#1F2437] hover:bg-[#272D44] h-6 w-6 rounded-md"
onClick={handleButtonClick}
diff --git a/components/AgentChallengeTagModal.tsx b/components/AgentChallengeTagModal.tsx
index 58064cc26..7bd71fa49 100644
--- a/components/AgentChallengeTagModal.tsx
+++ b/components/AgentChallengeTagModal.tsx
@@ -31,8 +31,7 @@ function AgentChallengeTagModal({
ref={ref}
className="
absolute
- left-1/2
- top-1/2
+ mt-1
w-[200px]
border
border-[#6366F1]/50
diff --git a/components/AgentLogFilesList.tsx b/components/AgentLogFilesList.tsx
index 6ac54f592..1e5377e22 100644
--- a/components/AgentLogFilesList.tsx
+++ b/components/AgentLogFilesList.tsx
@@ -207,7 +207,7 @@ function AgentLogFilesList({
onResizeFinished={setSizes}
minWidths={[120, 120]}
>
- <div className="flex flex-col space-y-4 sm:px-4 lg:px-8 flex-1">
+ <div className="flex flex-col space-y-4 sm:px-4 lg:px-8 flex-1 relative">
{sortedLogUploads.map((logUpload, i) => (
<div
key={logUpload.id}