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;