fix(resources): center rollback state badges in their column (#1807)

The State header and its badges (Current, Superseded, Recovery required)
in Resources > Rollback were left-aligned. Add text-center to both the
header and the cell so the column reads as a unit, matching the
Actions column's header/cell alignment pairing.
This commit is contained in:
Anso
2026-08-08 23:23:52 -04:00
committed by GitHub
parent fe003d5c49
commit 4aae09db4a
@@ -107,7 +107,7 @@ export function RollbackGenerationsTab({ generations, isLoading, isAdmin, nodeId
<TableRow>
<TableHead>Stack</TableHead>
<TableHead>Generation</TableHead>
<TableHead>State</TableHead>
<TableHead className="text-center">State</TableHead>
<TableHead>Retention</TableHead>
<TableHead className="text-right">Actions</TableHead>
</TableRow>
@@ -139,7 +139,7 @@ export function RollbackGenerationsTab({ generations, isLoading, isAdmin, nodeId
</button>
</TableCell>
<TableCell className="font-mono text-xs text-muted-foreground">{gen.shortId}</TableCell>
<TableCell><StateBadge gen={gen} /></TableCell>
<TableCell className="text-center"><StateBadge gen={gen} /></TableCell>
<TableCell className="text-xs text-stat-subtitle">{formatExpiry(gen)}</TableCell>
<TableCell className="text-right">
{isAdmin && (