fix(layout): remove boxed page constraints and restore full-width vie…#725
fix(layout): remove boxed page constraints and restore full-width vie…#725Jash-Khunt wants to merge 1 commit into
Conversation
…wport compatibility
|
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 (3)
📝 WalkthroughWalkthroughThe pull request fixes a layout constraint issue by removing the outer container's maximum-width limit, allowing website content to expand to full viewport width. Root layout styling is updated with new background colors and simplified structure, while the home page hero section receives explicit width containment to maintain readable proportions within the wider layout. ChangesFull-Width Layout Expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Addressed Issues
Fixes #722
Screenshots / Recordings
Before
After
Additional Notes
Background Layout Fix
Replaced the fixed inset-sheet layout in
layout.jsxwith direct background declarations on the<body>element using:This fully removes the unwanted outer side columns visible on larger screens.
Fluid Layout Improvements
Updated
OuterContainerinContainer.jsxfrom a constrained width layout tomax-w-none, allowing decorative background elements and sections to scale naturally across wider viewports.Hero Section Refinement
Wrapped the hero text, logos, and branding content in
page.jsxinside a focused:container to preserve readability while maintaining responsive full-width behavior.
Result
The homepage now properly utilizes available viewport width across large displays while keeping core content centered and visually balanced.
AI Usage Disclosure
AI tools used:
Checklist
Summary by CodeRabbit