Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix editors vertical spacing and overflow on horizontal resizing

Tomas Valenta3dab53a7397d
diff --git a/components/Editor/RouteEditor/PromptEditor/index.tsx b/components/Editor/RouteEditor/PromptEditor/index.tsx
index db10c69a5..580c705a9 100644
--- a/components/Editor/RouteEditor/PromptEditor/index.tsx
+++ b/components/Editor/RouteEditor/PromptEditor/index.tsx
@@ -50,7 +50,7 @@ function PromptEditor({
className="
flex-1
flex
- w-[65ch]
+ max-w-[65ch]
flex-col
"
/>
diff --git a/components/Editor/RouteEditor/index.tsx b/components/Editor/RouteEditor/index.tsx
index 492bffb5c..3ffe433cf 100644
--- a/components/Editor/RouteEditor/index.tsx
+++ b/components/Editor/RouteEditor/index.tsx
@@ -18,7 +18,8 @@ function RouteEditor({ route }: Props) {
return (
<div className="
- py-8
+ pt-16
+ pb-8
px-4
flex
flex-1
@@ -40,7 +41,7 @@ function RouteEditor({ route }: Props) {
flex
flex-col
items-start
- space-y-8
+ space-y-6
">
{descriptionBlock &&
<PromptEditor