fix: Size brand-logo as fixed square for 1:1 logo aspect ratio #19

Merged
jason merged 1 commits from feat/header-logo-and-title-gradient into master 2026-03-09 19:48:36 -05:00
Owner

Summary

Fixes .brand-logo CSS so the navbar logo space is a fixed square, matching a 1:1 aspect ratio image.

Change

  • width: autowidth: 2.5rem (matches height: 2.5rem for a locked square)
  • Added object-position: center
  • Added border-radius: 4px
  • Added flex-shrink: 0 to prevent squishing on narrow viewports
  • Mobile: width: 2rem; height: 2rem (was height-only before)
## Summary Fixes `.brand-logo` CSS so the navbar logo space is a fixed square, matching a 1:1 aspect ratio image. ## Change - `width: auto` → `width: 2.5rem` (matches `height: 2.5rem` for a locked square) - Added `object-position: center` - Added `border-radius: 4px` - Added `flex-shrink: 0` to prevent squishing on narrow viewports - Mobile: `width: 2rem; height: 2rem` (was height-only before)
jason added 1 commit 2026-03-09 19:48:04 -05:00
jason merged commit 9ab3dd5a77 into master 2026-03-09 19:48:36 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jason/breedr#19