Skip to content

Fix Search Popup Overflow on Large Screens#8256

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
vikasverma101:fix/search-bar-popup
Jul 23, 2026
Merged

Fix Search Popup Overflow on Large Screens#8256
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
vikasverma101:fix/search-bar-popup

Conversation

@vikasverma101

Copy link
Copy Markdown
Contributor

📌 Description
This PR fixes the desktop search popup overflowing beyond the viewport on large screen sizes.

Previously, the search dropdown used fixed widths and right-side positioning, which caused the popup to extend outside the visible viewport under certain desktop layouts. This affected the responsiveness and overall user experience.

✨ Changes Made
Replaced fixed-width styling with responsive viewport-based sizing.
Improved popup positioning to ensure it remains fully visible within the viewport.
Preserved the existing desktop and mobile search behavior.
Maintained the current UI design and animations.
🐛 Problem Solved
Prevents the search popup from overflowing on large desktop screens.
Ensures the entire search interface remains accessible and visible.
Improves responsive behavior across different screen sizes.
🧪 Testing
✅ Tested on large desktop screens
✅ Tested on laptop resolution
✅ Tested on tablet viewport
✅ Verified mobile layout remains unaffected
✅ No console errors
✅ Existing search functionality works as expected
📸 Screenshots
Before
image
After
image
Checklist
Code follows the project's coding standards.
Responsive behavior has been verified.
No existing functionality was broken.
Ready for review.

closes #7884

@retenta-bot

retenta-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

This pull request effectively resolves the overflow issue of the search popup on large desktop screens by adopting responsive sizing. This aligns with previous decisions made to enhance user experience and responsiveness. Great job on ensuring that existing functionality remains intact and that the mobile layout is unaffected! Looking forward to your contributions. 😊

@retenta-bot retenta-bot Bot changed the title fixing searchbar popup Fix Search Popup Overflow on Large Screens Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3985.29 KB 3985.28 KB +0.01 KB (+0.00%)
Total CSS 331.41 KB 331.41 KB 0 B

@Aamod007 Aamod007 added level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:bug Something isn't working as expected mentor:Aamod007 labels Jul 23, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing the search panel layout! The adjustment to positioning (\left-0 right-0 mt-5) correctly centers and aligns the search dropdown to prevent clipping.

This is a clean and straightforward CSS fix. Everything looks great!

Label Justification:

  • \level:beginner: Assigned based on 1 file changed (a simple CSS positioning adjustment).
  • \quality:clean: A clean, straightforward fix.
  • \ ype:bug: Addresses a layout bug for the desktop search panel.
  • \mentor:Aamod007: Assigned as required.

@JhaSourav07 JhaSourav07 added the gssoc:approved PR has been reviewed and accepted for valid contribution points label Jul 23, 2026
@JhaSourav07
JhaSourav07 merged commit a14caf9 into JhaSourav07:main Jul 23, 2026
15 of 16 checks passed
@github-actions github-actions Bot added this to the GSSoC 2026 milestone Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @vikasverma101! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

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

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points level:beginner Small changes Usually isolated fixes or simple UI/text updates. mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Search command palette overflows viewport on large screens when opened

3 participants