From 4216211a205b755f7ad8a044bdcf18793931836e Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Thu, 12 Nov 2026 16:14:32 +0100 Subject: [PATCH] Topbar: fit phone width by hiding wordmark, username and sunset countdown --- public/css/style.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/public/css/style.css b/public/css/style.css index 93a84f7..84cb47c 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -282,6 +282,27 @@ html, body { color: #fff; } +/* Phone width: the full bar (~450px) doesn't fit, so drop what's + redundant there — the wordmark (the installed app has its own name), the + username, and the sunset countdown (the sun chart still shows it). */ +@media (max-width: 640px) { + .topbar { + padding: 0 8px; + gap: 8px; + } + + .topbar__brand, + .topbar__auth > span, + .topbar__sun .topbar__group:nth-child(3) { + display: none; + } + + .topbar__center, + .topbar__sun { + gap: 8px; + } +} + .app-body { flex: 1; display: flex;