Skip to content

Conversation

@mithun50
Copy link
Contributor

Fix search bar overflow on mobile devices
Fixes : #72
The search bar in the 'Available Courses' section was overflowing the viewport on mobile devices, causing horizontal scrolling.

This commit fixes the issue by applying responsive styles to the container of the search bar and title. The container now stacks its children vertically on small screens and horizontally on larger screens, preventing the overflow. The search input is also set to full width on mobile for better usability.

- Updated layout in src/pages/HomePage.tsx
- Fixed overflow issue on small screens
- Stacks vertically on mobile, horizontal on larger screens

Co-authored-by: mithun50 <[email protected]>
@netlify
Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for engineeringinkannada ready!

Name Link
🔨 Latest commit 9f53110
🔍 Latest deploy log https://app.netlify.com/projects/engineeringinkannada/deploys/68ae6a4d75466c00080fbdaf
😎 Deploy Preview https://deploy-preview-73--engineeringinkannada.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mithun50
Copy link
Contributor Author

@chandansgowda review required

Copy link
Owner

@chandansgowda chandansgowda left a comment

Choose a reason for hiding this comment

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

Search icon is moving to the next line (below available course). Its not looking good on mobile.. rather can we just have available courses title in the center and below that have the expanded search (only in mobile view). What do you think?

@chandansgowda chandansgowda added the bug Something isn't working label Aug 26, 2025
@mithun50
Copy link
Contributor Author

mithun50 commented Aug 27, 2025

@chandansgowda I think it's quite good
Fixed

Search icon is moving to the next line (below available course). Its not looking good on mobile.. rather can we just have available courses title in the center and below that have the expanded search (only in mobile view).
@mithun50 mithun50 requested a review from chandansgowda August 27, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search Bar Overflows Outside the Mobile Viewport on Homepage

2 participants