@@ -105,7 +105,7 @@ export function LoopDetailView({ loopId }: { loopId: string }) {
105105
106106 if ( isLoading ) {
107107 return (
108- < div className = "mx-auto w-full max-w-5xl px-8 py-6 " >
108+ < div className = "mx-auto w-full max-w-5xl px-8 py-8 " >
109109 < div className = "h-24 animate-pulse rounded-(--radius-2) border border-border bg-(--gray-2)" />
110110 </ div >
111111 ) ;
@@ -116,16 +116,20 @@ export function LoopDetailView({ loopId }: { loopId: string }) {
116116 }
117117
118118 return (
119- < div className = "mx-auto w-full max-w-5xl px-8 py-6" >
120- < Flex direction = "column" gap = "5" >
119+ < div className = "h-full min-h-0 overflow-y-auto" >
120+ < Flex
121+ direction = "column"
122+ gap = "5"
123+ className = "mx-auto w-full max-w-5xl px-8 py-8"
124+ >
121125 < Flex direction = "column" gap = "3" >
122126 < Button
123127 variant = "link-muted"
124- size = "xs "
128+ size = "sm "
125129 onClick = { navigateToLoops }
126130 className = "w-fit px-0"
127131 >
128- < ArrowLeftIcon size = { 13 } />
132+ < ArrowLeftIcon size = { 15 } />
129133 Loops
130134 </ Button >
131135
@@ -148,7 +152,7 @@ export function LoopDetailView({ loopId }: { loopId: string }) {
148152 />
149153 < Button
150154 variant = "outline"
151- size = "xs "
155+ size = "sm "
152156 loading = { runLoop . isPending }
153157 disabled = { runLoop . isPending }
154158 onClick = { handleRunNow }
@@ -157,14 +161,14 @@ export function LoopDetailView({ loopId }: { loopId: string }) {
157161 </ Button >
158162 < Button
159163 variant = "outline"
160- size = "xs "
164+ size = "sm "
161165 onClick = { ( ) => navigateToEditLoop ( loop . id ) }
162166 >
163167 Edit
164168 </ Button >
165169 < Button
166170 variant = "destructive"
167- size = "xs "
171+ size = "sm "
168172 onClick = { ( ) => setDeleteOpen ( true ) }
169173 >
170174 Delete
@@ -406,7 +410,7 @@ function InstructionsSection({ loop }: { loop: LoopSchemas.Loop }) {
406410 value = { draft ?? loop . instructions }
407411 disabled = { updateLoop . isPending }
408412 aria-label = "Loop instructions"
409- className = "min-h-[200px] bg-(--color-panel-solid) text-[12.5px] leading-relaxed"
413+ className = "max-h-[400px] min-h-[200px] bg-(--color-panel-solid) text-[12.5px] leading-relaxed"
410414 onChange = { ( e ) => setDraft ( e . currentTarget . value ) }
411415 onBlur = { ( e ) => commit ( e . currentTarget . value ) }
412416 onKeyDown = { ( e ) => {
0 commit comments