Skip to content

fix(web): keep logo preview aspect ratio in branding dashboard#74

Merged
Musiker15 merged 1 commit into
mainfrom
fix/logo-preview-aspect
Jun 21, 2026
Merged

fix(web): keep logo preview aspect ratio in branding dashboard#74
Musiker15 merged 1 commit into
mainfrom
fix/logo-preview-aspect

Conversation

@Musiker15

Copy link
Copy Markdown
Member

The branding logo preview was stretched full-width: the <img> is a flex item in the Field's column (align-items: stretch), so its width stretched while h-16 fixed the height. Added self-start max-w-full object-contain (matching the public form/status pages, which already use self-start) so the preview keeps the logo's real proportions. CSS-only; lint green.

…oard

The logo `<img>` sits in the Field's flex column, whose default
`align-items: stretch` forced it to the container's full width while `h-16`
pinned the height — distorting the preview. The public form/status pages already
use `self-start`; apply the same here (+ object-contain / max-w-full) so the
preview keeps the logo's real proportions.
@Musiker15 Musiker15 merged commit a7a4b2a into main Jun 21, 2026
3 checks passed
@Musiker15 Musiker15 deleted the fix/logo-preview-aspect branch June 21, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant