Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix logs width; Fix run code input gap

Tomas Valenta3f6aa9500039
diff --git a/components/Editor/Sidebar/Logs/Tool/Base.tsx b/components/Editor/Sidebar/Logs/Tool/Base.tsx
index 679adbd6b..7bd01187e 100644
--- a/components/Editor/Sidebar/Logs/Tool/Base.tsx
+++ b/components/Editor/Sidebar/Logs/Tool/Base.tsx
@@ -50,14 +50,16 @@ function BaseTool({
}
</div>
- <div className="
+ {body &&
+ <div className="
py-6
max-w-full
overflow-x-auto
scroller
">
- {body}
- </div>
+ {body}
+ </div>
+ }
{log.tool_output?.trim() &&
<div className="
diff --git a/components/Editor/Sidebar/index.tsx b/components/Editor/Sidebar/index.tsx
index b6ef58865..776a8f9d3 100644
--- a/components/Editor/Sidebar/index.tsx
+++ b/components/Editor/Sidebar/index.tsx
@@ -100,7 +100,7 @@ function Sidebar({
flex
bg-white
flex
- flex-1
+ w-full
flex-col
min-h-0
`,