Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix scrolling of logs

Vasek Mlejnsky6950ea53ead3
diff --git a/components/Editor/Logs/index.tsx b/components/Editor/Logs/index.tsx
index b36a7e6af..e61cf2e88 100644
--- a/components/Editor/Logs/index.tsx
+++ b/components/Editor/Logs/index.tsx
@@ -94,10 +94,10 @@ function Logs({
}
</div>
<div className="
+ max-h-full
max-w-full
flex
flex-col
- flex-1
">
<Text
text="Logs"
@@ -112,13 +112,14 @@ function Logs({
/>
<div
className="
+ flex-1
overflow-auto
text-xs
tracking-wide
font-sans
break-words
space-y-4
- px-4
+ p-4
">
{logs?.map((l, i) =>
<ReactMarkdown key={i}>
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index b0ab37250..061e94526 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -17,7 +17,7 @@ function Sidebar({ children, side, className }: PropsWithChildren<Props>) {
className={clsx(
`
flex
- ${side === Side.Left ? 'w-[180px]' : 'w-[500px]'}
+ ${side === Side.Left ? 'w-[200px]' : 'w-[500px]'}
border-slate-200
bg-white
`,