🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!
Keep Total Value on one line; full-width card on phones (issue #192)
Omega (QA)4e10b2f0372b
diff --git a/frontend/mobile-header.css b/frontend/mobile-header.cssindex ca71536..f496a4d 100644--- a/frontend/mobile-header.css+++ b/frontend/mobile-header.css@@ -1251,4 +1251,14 @@.mobile-menu-panel .user-menu-item:hover {background-color: var(--hover-bg) !important;}-}\ No newline at end of file+}+/* Total Value card spans the full row on phones so the amount+ always fits on one line and never wraps mid-number. */+@media (max-width: 480px) {+ .status-content .status-card[data-status="total_value"],+ body .status-card[data-status="total_value"],+ .container .status-card[data-status="total_value"],+ .status-card[data-status="total_value"] {+ grid-column: 1 / -1 !important;+ }+}diff --git a/frontend/style.css b/frontend/style.cssindex ff850dc..178abc6 100644--- a/frontend/style.css+++ b/frontend/style.css@@ -1646,8 +1646,7 @@ input:checked + .toggle-slider:before {.status-card[data-status="total_value"] .count {font-size: 1.4rem;- overflow-wrap: break-word;- word-break: break-word;+ white-space: nowrap;}.card-icon {