Give Galaxy timestamp cards double-width boxes
The Last Deploy and Last Refresh metric cards hold full timestamps that wrapped to three or four lines in a single-width card. Add a Wide option to MetricCard (grid-column: span 2) and set it on both Galaxy timestamp cards. Also switch .metric-value to overflow-wrap: break-word so a date token is never split mid-value. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -88,6 +88,8 @@ body.dashboard-body { min-height: 100vh; }
|
||||
letter-spacing: 0.07em;
|
||||
color: var(--ink-faint);
|
||||
}
|
||||
.metric-card-wide { grid-column: span 2; }
|
||||
|
||||
.metric-value {
|
||||
margin-top: 0.25rem;
|
||||
font-family: var(--mono);
|
||||
@@ -96,7 +98,8 @@ body.dashboard-body { min-height: 100vh; }
|
||||
font-weight: 600;
|
||||
line-height: 1.1;
|
||||
color: var(--ink);
|
||||
overflow-wrap: anywhere;
|
||||
/* break-word, not anywhere: keep date/number tokens whole, wrap at spaces. */
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.metric-detail {
|
||||
margin-top: 0.15rem;
|
||||
|
||||
Reference in New Issue
Block a user