Topbar: fit phone width by hiding wordmark, username and sunset countdown
This commit is contained in:
1 parent
25b87b94fe
commit
4216211a20
1 file changed
+21
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user