Files
inbuxa-webmail/web/src/styles
jcoffey-dev 42fa17f97b
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m2s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
Top bar: scale a wide custom logo down on a phone instead of cutting it off
The custom logo in the top bar is 34px high and up to 180px wide. A wide
wordmark asked for the full 180px, the image wouldn't shrink below its
own width (a flex item's min-width), and on a phone the search field
painted over the rest of it: "ARCVA" on an iPhone in portrait (#124).

At phone widths the logo now has min-width 0, a 30vw cap and
object-position left, so it scales down whole (object-fit: contain was
already set). A square logo is under the cap and doesn't change; desktop
is unchanged. Checked in Chromium at 320, 375, 440 and 900px with a wide
and a square logo. Test: the phone rule, pinned.

Fixes #124
2026-11-19 10:59:28 -07:00
..