fixed mobile structure#46
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adjusts CSS responsive styling in the contact section stylesheet (layout direction, breakpoint thresholds, typography, spacing, form field sizing, and submit button positioning) and updates Tailwind grid classes in the Hero component to reduce gap spacing and add a medium-breakpoint column configuration. ChangesContact Section Responsive Styling
Hero Grid Responsive Update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎉 Congratulations @nitinmohan18!Thank you for contributing to HyperLearningTech. Your pull request has been successfully merged into main. 📦 Merge Summary
🚀 Keep Contributing
Thank you for helping make HyperLearningTech better. Happy Coding! 🚀 |
Pull Request
Summary
This PR fixes several UI issues across the Home and Contact sections to prevent premature vertical stacking on desktop and tablet views. It also significantly compacts the "Send us a message" contact card on mobile devices so it doesn't artificially stretch the screen.
Related Issue
Closes #
Type of Change
What Changed?
hero.tsxfromlg(1024px) tomd(768px), allowing the hero content and mockup to sit nicely side-by-side on tablets and small laptops..featuresHorizontalfromflex-direction: columntorowinContactSection.module.cssso the feature pills align horizontally as intended on desktop.1200pxdown to992pxto prevent standard desktop displays from rendering the mobile stacked view..contactCardon mobile by shrinking form gaps, field paddings, text sizes (specifically the heading), and removing the absolute positioning hack on the submit button.min-height: autoon mobile views to stop the Contact section from being cut off.Screenshots (UI Changes Only)
(Add your before/after screenshots of the mobile contact form and the desktop hero section here)
Testing
768pxto ensure the side-by-side grid works and behaves responsively.<768pxto ensure the mobile contact card looks tight, the heading doesn't awkwardly split into two lines, and the submit button sits neatly inside the card container.Checklist
Before requesting a review, confirm the following:
main.npx prettier --write <file>).npm run format:checkpasses.npm run lintpasses.npm run typecheckpasses.npm run buildpasses.Additional Notes
The absolute positioning (
bottom: -20px) on the submit button inside the contact form was removed because it was causing overflow/cut-off issues on smaller devices.Summary by CodeRabbit