feat(setup): align pass/fail icons at the end

This commit is contained in:
Nicholas Penree
2024-12-12 23:57:54 -05:00
parent 1c498ee2d2
commit 5ba19686c8

View File

@@ -262,16 +262,16 @@ export function StatusRow({
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
{showIcon ? ( {showIcon ? (
<> <>
{isEnabled ? (
<CheckCircle2 className="size-4 text-green-500" />
) : (
<XCircle className="size-4 text-red-500" />
)}
<span <span
className={`text-sm ${isEnabled ? "text-green-500" : "text-red-500"}`} className={`text-sm ${isEnabled ? "text-green-500" : "text-red-500"}`}
> >
{description || (isEnabled ? "Installed" : "Not Installed")} {description || (isEnabled ? "Installed" : "Not Installed")}
</span> </span>
{isEnabled ? (
<CheckCircle2 className="size-4 text-green-500" />
) : (
<XCircle className="size-4 text-red-500" />
)}
</> </>
) : ( ) : (
<span className="text-sm text-muted-foreground">{value}</span> <span className="text-sm text-muted-foreground">{value}</span>