fix(ui): resolve Layer5 logo cropping in navbar (#7946) - #7950
Conversation
…verflow and scaling Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe navigation stylesheet adds explicit display properties to desktop and responsive logo SVGs. It also reformats existing mobile menu, dark-theme, and toggle declarations without changing their values or behavior. ChangesNavigation styling
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for PR #7950 removed. This PR preview was automatically pruned because we keep only the 3 most recently updated previews on GitHub Pages to stay within deployment size limits. If needed, push a new commit to this PR to generate a fresh preview. |
Sbragul26
left a comment
There was a problem hiding this comment.
@Joiejoie1, I can't reproduce this issue. Could you share the exact steps? A short video would be helpful.
KumarNirupam1
left a comment
There was a problem hiding this comment.
reviewed the changes. the added height: auto, overflow: visible, and display: block on the logo svg address the cropping issue and keep the logo scaling correctly across the responsive breakpoints.
the fix is minimal and looks good to me.
lgtm ^^
Description
This PR fixes #7946
Resolves the issue where the Layer5 logo appeared cropped/cut off in the navigation bar by adjusting SVG overflow rules and scaling behavior.
Notes for Reviewers
Updated SVG overflow and height/width constraints on the navbar logo component to prevent clipping across responsive breakpoints.
Verified visual alignment on desktop, tablet, and mobile viewports.
Tested locally with gatsby develop to ensure no layout regressions in the navigation header.
Signed commits
Before:

After:

Summary by CodeRabbit
Bug Fixes
Style