From 6edb00b8b3f479e2efa078a758e5d864f33220a5 Mon Sep 17 00:00:00 2001 From: DoktorShift Date: Mon, 2 Feb 2026 01:44:13 +0100 Subject: [PATCH 1/2] mobile screens --- templates/devicetimer/index.html | 77 +++++++++++++++++++++++++++----- 1 file changed, 65 insertions(+), 12 deletions(-) diff --git a/templates/devicetimer/index.html b/templates/devicetimer/index.html index edf73a4..37d398a 100644 --- a/templates/devicetimer/index.html +++ b/templates/devicetimer/index.html @@ -212,6 +212,59 @@ background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%); pointer-events: none; } + + /* Responsive Styles */ + @media (max-width: 599px) { + .stat-item { + padding: 10px 12px; + } + + .stat-label { + font-size: 0.65rem; + } + + .stat-value { + font-size: 1.2rem; + } + + .qr-wrapper { + padding: 12px; + } + + .qr-image { + width: 200px; + height: 200px; + } + + .switch-card { + padding: 10px; + } + + /* Hide Currency, Timezone, Hours columns on mobile */ + .q-table th:nth-child(3), + .q-table td:nth-child(3), + .q-table th:nth-child(4), + .q-table td:nth-child(4), + .q-table th:nth-child(5), + .q-table td:nth-child(5) { + display: none !important; + } + + .info-banner-wrapper { + height: 100px; + } + } + + @media (max-width: 400px) { + .stat-value { + font-size: 1rem; + } + + .qr-image { + width: 160px; + height: 160px; + } + } {% endblock %} @@ -235,7 +288,7 @@ borderless dense filled - style="min-width: 200px;" + style="min-width: 180px;" @update:model-value="onWalletChange" >