Skip to content

Commit 673bbe7

Browse files
committed
refactor(dashboard): move the row's px-2 off the card onto the inner rows
The card carries no horizontal padding now, so the title spans edge to edge and its clip/fade land on the border; the subtitle/badge row keeps its own px-2 inset.
1 parent 5d14c64 commit 673bbe7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎packages/framework-dashboard/components/RunHistory.tsx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,13 +464,15 @@ function RunRow({
464464
<Button
465465
variant="ghost"
466466
className={cn(
467-
'rail-row h-auto w-full flex-col items-start gap-0.5 px-2 py-2 text-left',
467+
// No horizontal padding on the card itself: the title spans edge to edge so its clip/fade
468+
// land on the border. The rows that need the inset carry their own px-2.
469+
'rail-row h-auto w-full flex-col items-start gap-0.5 py-2 text-left',
468470
active && 'bg-accent text-accent-foreground',
469471
dim && 'opacity-70',
470472
)}
471473
onClick={onClick}
472474
>
473-
<span className="flex w-full items-center gap-2">
475+
<span className="flex w-full items-center gap-2 px-2">
474476
{/* The dot means "the agent is working", so a run parked on you gets a still one (#785):
475477
it used to pulse identically whether it was mid-edit or had been idle for an hour. */}
476478
{status === 'running' && (

0 commit comments

Comments
 (0)