Topbar: fit phone width by hiding wordmark, username and sunset countdown
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 13s

This commit is contained in:
randy committed 2026-11-12 16:14:32 +01:00
1 parent 25b87b94fe
commit 4216211a20
1 file changed
+21
+21
View File
@@ -282,6 +282,27 @@ html, body {
color: #fff; 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 { .app-body {
flex: 1; flex: 1;
display: flex; display: flex;