mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-11 03:06:54 +00:00
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:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user