Fix layout, spacing, and typography issues on EPR Policy page#2709
Fix layout, spacing, and typography issues on EPR Policy page#2709codervivek5 merged 1 commit intocodervivek5:mainfrom
Conversation
|
@sm-28601 is attempting to deploy a commit to the Vivek Prajapati's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Caution Review failedAn error occurred during the review process. Please try again later. 📝 WalkthroughWalkthroughThe PR refactors the EPR page layout and styling to fix visual inconsistencies, including restructuring the container, adjusting margins and spacing, correcting list item alignment, and applying consistent color utilities and typography updates. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ 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 |
There was a problem hiding this comment.
Pull request overview
This PR refines the EPR (E-Waste Recycling Policy) page layout to better match other policy pages and improve readability and visual consistency. The main focus is on typography, spacing, bullet alignment, and container sizing.
Changes:
- Adjusted outer and inner container spacing (top padding, bottom padding, min-height, and max width) to improve alignment with the navbar and overall page layout.
- Standardized headings and subheadings (color, font size, spacing) and added justified text for paragraphs to enhance readability and visual hierarchy.
- Reworked list styling (list position, padding, spacing, removal of in-text hyphen markers) so bullets are properly aligned within the content container and text is easier to scan.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <p className="mb-4"> | ||
| To deal with this ever-rising problem of E-Waste, the government of | ||
| <p className="mb-2"> | ||
| To deal with this ever-rising problem of E-Waste, the government of |
There was a problem hiding this comment.
The text node on this line is indented one level deeper than the surrounding paragraph lines, which makes the JSX formatting inconsistent with the rest of the component and can be flagged by linters/formatters. Please align this line's indentation with the other paragraph text lines in this block.
| To deal with this ever-rising problem of E-Waste, the government of | |
| To deal with this ever-rising problem of E-Waste, the government of |
|
Hi @codervivek5 , pls review my PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Congratulations, Your pull request has been successfully merged 🥳🎉 Thank you for your valuable contribution to the project 🚀 Keep contributing!! ✨ 📢 Don’t forget to share your VigyBag PR on LinkedIn and tag @VigyBag and me — we’d love to celebrate your achievement with you! 🔗💡 |
Fixes #2703
Overview
This PR improves the overall layout, readability, and visual consistency of the EPR (E-Waste Recycling Policy) page.
Changes Made
Result
These changes enhance the visual hierarchy and provide a cleaner, more user-friendly reading experience.
I have also attached a short video clip demonstrating the updated UI for easier review.
If the changes look good, please feel free to merge the PR. Thank you!
vigybag.mp4
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.