style: align catalog status with summary grid

This commit is contained in:
Codex
2026-09-13 01:44:48 +02:00
parent 803e9e9201
commit e088abd60a
3 changed files with 38 additions and 7 deletions
@@ -14,6 +14,7 @@
}
.thot-fleet-ledger__workspace {
--fleet-summary-inset: 1.25rem;
display: flex;
flex: 1;
flex-direction: column;
@@ -101,6 +102,7 @@
.thot-fleet-ledger__header-status {
grid-area: status;
min-width: 0;
padding-inline: var(--fleet-summary-inset);
}
.thot-fleet-ledger__header-status > .thot-fleet-ledger__status {
@@ -154,8 +156,6 @@
min-width: min(100%, 10rem);
gap: 0.5rem;
align-items: flex-start;
/* Preserve the text inset formerly occupied by the leading marker and gap. */
padding-inline-start: 0.95rem;
}
.thot-fleet-ledger__status-item[data-tone="success"] {
@@ -221,7 +221,7 @@
.thot-fleet-ledger__kpi-section {
display: grid;
gap: 0.625rem;
padding: 0.75rem 1.25rem 0;
padding: 0.75rem var(--fleet-summary-inset) 0;
border-bottom: 1px solid oklch(var(--border));
background: oklch(var(--card));
}
@@ -813,6 +813,9 @@
}
@media (min-width: 64rem) {
.thot-fleet-ledger__workspace {
--fleet-summary-inset: 1.5rem;
}
.thot-fleet-ledger__header {
padding-inline: 1.5rem;
}
@@ -823,10 +826,6 @@
padding-inline: 1.5rem;
}
.thot-fleet-ledger__kpi-section {
padding-inline: 1.5rem;
}
.thot-fleet-ledger__navigation,
.thot-fleet-ledger__command-bar {
padding-inline: 1.25rem;
@@ -834,6 +833,18 @@
}
/* Share the KPI grid's first, middle and last column anchors on wide work areas. */
@container fleet-workspace (min-width: 48rem) {
.thot-fleet-ledger__header-status .thot-fleet-ledger__status-list {
grid-template-columns: repeat(5, minmax(0, 1fr));
column-gap: 0;
}
.thot-fleet-ledger__header-status .thot-fleet-ledger__status-item:nth-child(-n + 2) {
grid-column: span 2;
}
}
@container fleet-surface (max-width: 47.999rem) {
.thot-fleet-ledger__drawer,
.thot-fleet-ledger .thot-fleet-ledger__context-panel {