Skip to content

Commit 9426e55

Browse files
committed
fixes
1 parent 5633f13 commit 9426e55

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

components/file-browser.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function FileBrowser({ taskId, branchName, onFileSelect, onFilesLoaded, s
122122
return (
123123
<div key={fullPath}>
124124
<div
125-
className="flex items-center gap-2 px-3 py-1.5 hover:bg-accent cursor-pointer rounded-sm"
125+
className="flex items-center gap-2 px-3 py-1.5 hover:bg-card/50 cursor-pointer rounded-sm"
126126
onClick={() => toggleFolder(fullPath)}
127127
>
128128
{isExpanded ? (
@@ -141,8 +141,8 @@ export function FileBrowser({ taskId, branchName, onFileSelect, onFilesLoaded, s
141141
return (
142142
<div
143143
key={fullPath}
144-
className={`flex items-center gap-2 px-3 py-1.5 hover:bg-accent cursor-pointer rounded-sm ${
145-
isSelected ? 'bg-accent' : ''
144+
className={`flex items-center gap-2 px-3 py-1.5 cursor-pointer rounded-sm ${
145+
isSelected ? 'bg-card' : 'hover:bg-card/50'
146146
}`}
147147
onClick={() => onFileSelect?.(node.filename!)}
148148
>

components/page-header.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ export function PageHeader({
2929
<Button onClick={onToggleMobileMenu} variant="ghost" size="sm" className="h-8 w-8 p-0">
3030
<Menu className="h-4 w-4" />
3131
</Button>
32-
{showPlatformName && <span className="text-sm font-semibold text-muted-foreground">Coding Agent Template</span>}
32+
{showPlatformName && (
33+
<span className="text-sm font-semibold text-muted-foreground">Coding Agent Template</span>
34+
)}
3335
</>
3436
)}
3537
{leftActions}

components/task-details.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export function TaskDetails({ task }: TaskDetailsProps) {
343343
return (
344344
<div className="flex flex-col flex-1 min-h-0">
345345
{/* Overview Section */}
346-
<div className="space-y-3 pb-6 border-b px-6 flex-shrink-0">
346+
<div className="space-y-3 pb-6 border-b pl-6 pr-3 flex-shrink-0">
347347
{/* Prompt */}
348348
<div className="flex items-center gap-2">
349349
<p className="text-2xl flex-1 truncate">{task.prompt}</p>
@@ -482,7 +482,7 @@ export function TaskDetails({ task }: TaskDetailsProps) {
482482

483483
{/* Changes Section */}
484484
{task.branchName ? (
485-
<div className="flex-1 flex gap-6 px-6 pt-6 pb-6 min-h-0 overflow-hidden">
485+
<div className="flex-1 flex gap-6 pl-3 pr-6 pt-6 pb-6 min-h-0 overflow-hidden">
486486
{/* File Browser */}
487487
<div className="w-1/3 overflow-y-auto min-h-0">
488488
<FileBrowser
@@ -510,7 +510,7 @@ export function TaskDetails({ task }: TaskDetailsProps) {
510510
</div>
511511
</div>
512512
) : currentStatus === 'pending' || currentStatus === 'processing' ? (
513-
<div className="flex-1 flex items-center justify-center px-6">
513+
<div className="flex-1 flex items-center justify-center pl-6 pr-3">
514514
<div className="text-center">
515515
<Loader2 className="h-8 w-8 animate-spin mx-auto mb-3 text-muted-foreground" />
516516
<p className="text-sm text-muted-foreground">Working...</p>

0 commit comments

Comments
 (0)