feat(ui): simplify fleet cards by moving edit/delete into detail

Hide instance IDs and config/delete controls on overview cards; keep
service/system restart only, with edit still available from detail.
This commit is contained in:
chick
2026-07-22 00:20:32 +08:00
parent 3c7018a792
commit bbd94b5672
6 changed files with 21 additions and 161 deletions
+1 -10
View File
@@ -412,15 +412,10 @@ small {
gap: 0.75rem;
}
.fleet-card h2 {
margin: 0 0 0.2rem;
margin: 0;
font-size: 1.18rem;
letter-spacing: -0.02em;
}
.fleet-card code {
color: var(--muted);
overflow-wrap: anywhere;
font-size: 0.82rem;
}
.fleet-card-metrics {
margin: 1rem 0;
display: grid;
@@ -950,10 +945,6 @@ tbody th small {
text-decoration: underline;
text-underline-offset: 0.2em;
}
.fleet-card-entry code {
display: block;
overflow-wrap: anywhere;
}
.fleet-card-admin-actions {
position: relative;
z-index: 1;