Status badge and color updates (#638)
This commit is contained in:
@@ -23,7 +23,7 @@ function StatusBadge({ status }: Props) {
|
||||
const statusText = status === "timed_out" ? "timed out" : status;
|
||||
|
||||
return (
|
||||
<Badge className="h-fit" variant={variant}>
|
||||
<Badge className="flex h-7 w-24 justify-center" variant={variant}>
|
||||
{statusText}
|
||||
</Badge>
|
||||
);
|
||||
|
||||
@@ -10,11 +10,11 @@ const badgeVariants = cva(
|
||||
secondary:
|
||||
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
||||
success:
|
||||
"border-transparent bg-success text-success-foreground shadow hover:bg-success/80",
|
||||
"border-transparent bg-success/40 text-success-foreground shadow hover:bg-success/30",
|
||||
warning:
|
||||
"border-transparent bg-warning text-warning-foreground shadow hover:bg-warning/80",
|
||||
"border-transparent bg-warning/40 text-warning-foreground shadow hover:bg-warning/30",
|
||||
destructive:
|
||||
"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
||||
"border-transparent bg-destructive/40 text-destructive-foreground shadow hover:bg-destructive/30",
|
||||
outline: "text-foreground",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user