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 header text overlap issue on smaller screen sizes #277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anmolgupta2015
Copy link

@anmolgupta2015 anmolgupta2015 commented Jan 31, 2025

Pull Request Title

Fix: Improved Header Layout & Text Wrapping for Better Responsiveness

Description

Fixes #276
This PR improves the header layout by ensuring better responsiveness and preventing text overlap. Key changes include:

  • Added flex-shrink-0 min-w-0 to the Logo Section to prevent unnecessary shrinking of elements.
  • Added whitespace-nowrap to text elements (Welcome text & App name) to ensure they do not wrap unexpectedly in small screens.
  • Ensured the layout remains balanced and prevents misalignment on different screen sizes.

Before vs After

🔴 Before:

  • Elements overlapped when the screen size was reduced.
  • Text wrapped incorrectly in small screens.

After:

  • Improved responsiveness.
  • Text and logo remain aligned properly.

Screenshots (Optional)

WhatsApp Image 2025-01-31 at 09 39 28_24ed9f93

Checklist

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.

Header Text Overlap on Smaller Window Sizes
1 participant