Skip to content

Commit 10380b3

Browse files
committed
frontend(transcripts): simplify badge styling and fix incomplete row border
1 parent 9f734bc commit 10380b3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

frontend/src/components/pages/transcripts/components/transcripts-table.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -593,12 +593,8 @@ const RootTraceServiceBadge: FC<{ isIncomplete: boolean; serviceName: string | u
593593
}) => {
594594
if (isIncomplete) {
595595
return (
596-
<Badge
597-
className="flex h-4 shrink-0 items-center border-warning/25 bg-muted/50 px-1.5 py-0 font-normal text-warning/90"
598-
variant="outline"
599-
>
600-
<AlertCircle className="mr-1 h-3 w-3 shrink-0" />
601-
<Small className="truncate">awaiting root</Small>
596+
<Badge variant="warning-inverted" size="sm" icon={<AlertCircle />}>
597+
awaiting root
602598
</Badge>
603599
);
604600
}
@@ -693,7 +689,7 @@ const RootTraceRow: FC<{
693689
selectableRowSelected,
694690
selectableRowFocus,
695691
'h-9 [grid-template-columns:72px_minmax(0,1fr)_260px]',
696-
'data-[incomplete=true]:border-l-2 data-[incomplete=true]:border-l-warning'
692+
'data-[incomplete=true]:shadow-[inset_2px_0_0_0_var(--color-warning)]'
697693
)}
698694
data-incomplete={isIncomplete}
699695
data-selected={isSelected}

0 commit comments

Comments
 (0)