Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Adjust navbar-brand alignment for mobile. #1628

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

Saloni-2005
Copy link
Contributor

This PR adjusts the styling of the navbar-brand to improve its vertical alignment on mobile screens. Specifically, a margin-top is added to shift the navbar-brand slightly downward for better visual alignment on smaller devices.

Changes
Added margin-top in the media query for screens smaller than 768px.
Adjusted padding and font size to optimize the appearance on mobile devices.

image

Motivation
Addresses issue #1390 , where the navbar-brand was not properly aligned on smaller screens.

Testing
Verified the alignment on different screen sizes to ensure the changes apply only to mobile devices without affecting the desktop view.

Before:

image

After:

image

@kartikaysaxena @hegner Could you please review this PR? Thankyou!

@Saloni-2005
Copy link
Contributor Author

Saloni-2005 commented Jan 6, 2025

Hi @hegner @kartikaysaxena @eduardo-rodrigues @graeme-a-stewart

All checks have passed successfully. Could you please review and approve the changes when you have a moment?

Thank you!

@hegner hegner self-requested a review January 6, 2025 23:16
Copy link
Member

@eduardo-rodrigues eduardo-rodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds good. Thank you for the work 👍!

I can merge but let's see if @graeme-a-stewart has comments.

@graeme-a-stewart
Copy link
Member

Yes, this looks like a great fix - thank you @Saloni-2005, much appreciated!

@graeme-a-stewart graeme-a-stewart merged commit 388101d into HSF:main Jan 7, 2025
2 checks passed
@Saloni-2005
Copy link
Contributor Author

Thank you, @graeme-a-stewart! @eduardo-rodrigues! and @hegner! I'm glad the fix works well. Looking forward to collaborating more in the future. 😊

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.

4 participants