Skip to content

fix: vertically center v1.0 version badge in Navbar#449

Open
Xenon010101 wants to merge 1 commit into
vijaypatil477:mainfrom
Xenon010101:fix/misaligned-version
Open

fix: vertically center v1.0 version badge in Navbar#449
Xenon010101 wants to merge 1 commit into
vijaypatil477:mainfrom
Xenon010101:fix/misaligned-version

Conversation

@Xenon010101
Copy link
Copy Markdown

Description

Fixes the misaligned v1.0 version badge in the navbar. The paddingBottom: 1px on the version span caused it to sit slightly above the vertical center of the navbar, breaking alignment with the Debugra logo icon and brand text.

Changes

  • src/components/Landing/LandingPage.jsx: Replaced paddingBottom: '1px' with lineHeight: '1' on the v1.0 version badge span. This lets flexbox's align-items: center perfectly center the badge with the adjacent logo and brand name.

Before

The v1.0 badge appeared slightly higher than the Debugra logo and text due to the asymmetrical padding.

After

The v1.0 badge is now perfectly vertically centered with the logo and brand name in the navbar.

Testing

  • Visual inspection confirms the v1.0 badge is now aligned with the logo icon and Debugra text
  • No layout regressions — only the single CSS property was changed

Closes #443

Remove paddingBottom that offset the v1.0 badge from the
flex center and add lineHeight:1 for consistent vertical
alignment with the Debugra logo and brand text.

Closes vijaypatil477#443
@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

@Xenon010101 is attempting to deploy a commit to the omkh4242g-1671's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added quality:clean Clean code structure standards level:beginner GSSoC '26 Beginner difficulty issue labels May 30, 2026
@github-actions
Copy link
Copy Markdown

Hi @Xenon010101, thanks for contributing to Debugra! 🎉

I have automatically:

  • 👤 Assigned this PR to you.
  • 🏷️ Applied the gssoc:approved label.

Our workflows will now analyze your changes to classify:

  • 📈 PR Difficulty: level:*
  • 🧩 PR Type: type:*
  • 🌟 PR Quality: quality:*

Tip

Ensure your PR description references the issue it resolves (e.g. Closes #123). This allows the bot to inherit any additional labels from that issue!

Happy coding! 🚀

@github-actions github-actions Bot added gssoc:approved GSSoC '26 Approved issue gssoc Official GSSoC '26 issue tag type:bug Vulnerability or logical bug fixes labels May 30, 2026
@Vaibhav-221
Copy link
Copy Markdown

@Xenon010101, Great you have made all these changes.
One suggestion that i would like too give you that try to add reference image of the changes in the PR request that makes us easier to understand what you did!

@Xenon010101
Copy link
Copy Markdown
Author

@Vaibhav-221 Good point — will add a screenshot next time. Thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC '26 Approved issue gssoc Official GSSoC '26 issue tag level:beginner GSSoC '26 Beginner difficulty issue quality:clean Clean code structure standards type:bug Vulnerability or logical bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Misaligned v1.0 version text in Navbar

2 participants