Skip to content

Comments

Fix: Responsive layout for course navigation on small screens#15

Merged
souvikpramanikgit merged 1 commit intosouvikpramanikgit:mainfrom
balrajjchouree:fix-mobile-layout-course-page
Jul 22, 2025
Merged

Fix: Responsive layout for course navigation on small screens#15
souvikpramanikgit merged 1 commit intosouvikpramanikgit:mainfrom
balrajjchouree:fix-mobile-layout-course-page

Conversation

@balrajjchouree
Copy link

📥 Pull Request

Description

This PR improves the responsiveness of the course navigation buttons ("Previous" and "Next") and the info block between them. On smaller screens, the layout now stacks vertically instead of staying in a row, preventing overflow issues and maintaining visual balance.

Changes:

  • Replaced flex-row with flex-col sm:flex-row for better responsiveness.
  • Added proper padding, rounded corners, and hover effects to navigation buttons.
  • Improved font styling and spacing for better readability.

Motivation

Previously, the layout was breaking on small screens, causing overlapping and unreadable content. This fix makes the component mobile-friendly and visually consistent.

Fixes

Fixes #12


Screenshot

Screenshot 2025-07-22 140530

@vercel
Copy link

vercel bot commented Jul 22, 2025

Someone is attempting to deploy a commit to the Souvik's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible.). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@vercel
Copy link

vercel bot commented Jul 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
learn-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2025 8:50am

@souvikpramanikgit souvikpramanikgit merged commit 1cf9f66 into souvikpramanikgit:main Jul 22, 2025
3 checks passed
@github-actions
Copy link

🎉🎉 Thank you for your contribution! Your PR #15 has been merged! 🎉🎉

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: [UI Bug] Navigation buttons misaligned on small screens

2 participants