fix: location fallback to constants, compact card sizing

- Add third location fallback to utils/constants (London 51.5074/-0.1278)
  so location always resolves even without GPS or env vars configured
- Remove min-height from sys-card to eliminate wasted space
- Switch System Info to vertical key-value layout filling the card
- Clean up OS string (strip glibc suffix), use locale date for boot time
- Bump info grid font size from 11px to 12px for readability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-26 23:55:36 +00:00
parent f72b43c6bf
commit 4b31474080
4 changed files with 35 additions and 18 deletions

View File

@@ -32,7 +32,6 @@
border: 1px solid var(--border-color, #2a2a4a);
border-radius: 6px;
padding: 16px;
min-height: 120px;
}
.sys-card-wide {
@@ -464,17 +463,24 @@
background: var(--bg-primary, #0d0d1a);
}
/* System info — horizontal layout */
/* System info — vertical layout to fill card */
.sys-info-grid {
display: flex;
flex-wrap: wrap;
gap: 4px 20px;
font-size: 11px;
flex-direction: column;
gap: 6px;
font-size: 12px;
color: var(--text-dim, #8888aa);
}
.sys-info-item {
white-space: nowrap;
display: flex;
justify-content: space-between;
padding: 2px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sys-info-item:last-child {
border-bottom: none;
}
.sys-info-item strong {