Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add title to logs section

Vasek Mlejnsky99160d5c72b2
diff --git a/components/Editor/Logs/index.tsx b/components/Editor/Logs/index.tsx
index d29381b55..b36a7e6af 100644
--- a/components/Editor/Logs/index.tsx
+++ b/components/Editor/Logs/index.tsx
@@ -33,10 +33,11 @@ function Logs({
<Sidebar
side={Sidebar.side.Right}
className="
+ flex
flex-col
min-h-0
flex
- "
+ "
>
<div
className="
@@ -58,7 +59,11 @@ function Logs({
>
<Text
text="Deployment"
- className="font-medium"
+ className="
+ font-semibold
+ uppercase
+ text-slate-400
+ "
size={Text.size.S2}
/>
<DeployButton
@@ -88,26 +93,39 @@ function Logs({
/>
}
</div>
- <div
- className="
- max-w-full
- flex
- flex-col
- flex-1
- py-4
- px-4
- overflow-auto
- text-xs
- tracking-wide
- font-sans
- break-words
- space-y-4
+ <div className="
+ max-w-full
+ flex
+ flex-col
+ flex-1
">
- {logs?.map((l, i) =>
- <ReactMarkdown key={i}>
- {l}
- </ReactMarkdown>
- )}
+ <Text
+ text="Logs"
+ size={Text.size.S2}
+ className="
+ uppercase
+ text-slate-400
+ font-semibold
+ px-4
+ py-2
+ "
+ />
+ <div
+ className="
+ overflow-auto
+ text-xs
+ tracking-wide
+ font-sans
+ break-words
+ space-y-4
+ px-4
+ ">
+ {logs?.map((l, i) =>
+ <ReactMarkdown key={i}>
+ {l}
+ </ReactMarkdown>
+ )}
+ </div>
</div>
</Sidebar>
)
diff --git a/components/Editor/Routes.tsx b/components/Editor/Routes.tsx
index 60bcf502a..0d1e230c7 100644
--- a/components/Editor/Routes.tsx
+++ b/components/Editor/Routes.tsx
@@ -40,7 +40,11 @@ function Routes({
">
<Text
text="Routes"
- className="font-medium"
+ className="
+ font-semibold
+ uppercase
+ text-slate-400
+ "
size={Text.size.S2}
/>
<Button
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index 508e4e5a8..b0ab37250 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-[380px]'}
+ ${side === Side.Left ? 'w-[180px]' : 'w-[500px]'}
border-slate-200
bg-white
`,