feat: improve navbar responsiveness across all device sizes #1295 - #1761
Open
Tarulatapriya wants to merge 1 commit into
Open
feat: improve navbar responsiveness across all device sizes #1295#1761Tarulatapriya wants to merge 1 commit into
Tarulatapriya wants to merge 1 commit into
Conversation
Contributor
👋 Thanks for your PR, @Tarulatapriya!Welcome to Reframe — a browser-based video editor built for everyone 🎬
What happens next
Quick checklist
Useful links
Happy coding! 🎉 |
Contributor
✅ PR Format Check Passed — @TarulatapriyaBasic format checks passed. A maintainer will review your code changes. This does not mean the PR is approved — it just means the format is correct. |
Author
|
Hey maintainers! 👋 I've just submitted a PR to fix the navbar responsiveness across all devices (Issue #1295) as part of GSSoC '26! Here is a quick breakdown of what I changed using minimal Tailwind CSS, as requested: Integrated the Layout: I moved the floating "Star on GitHub" link out of page.tsx and directly into the flex container in layout.tsx. This permanently fixes the overlapping bug on smaller screens!Proper Scaling: Added flex-shrink-0 constraints and optimized the horizontal padding (px-4 sm:px-6) so everything fits flawlessly. Smart Mobile UI: Instead of adding a complex, JavaScript-heavy hamburger menu just for a single link, I made it so the text "Star on GitHub" collapses automatically on tiny mobile viewports, leaving just the star icon visible. This scales perfectly down to 320px screens! Let me know if this looks good to merge or if you need any adjustments! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses issue #1295 by completely revamping the responsiveness and structural layout of the main navigation bar, ensuring proper alignment on all viewports down to 320px width.
Fixes Made:
page.tsxand properly embedded it into the flexbox layout of the<header>inlayout.tsx. This eliminates the severe overlapping bug on narrow screens.px-4 sm:px-6) withflex-shrink-0to ensure items never clip out of bounds.Related Issues
Closes #1295
Type of Change
Additional Notes