Fix text padding issue where letters were getting cut off#814
Conversation
📝 WalkthroughWalkthroughRemoved a light background on the FAQ section, added small vertical padding to multiple headings, and updated the footer to use light/dark-aware colors with a top border and color transition. All edits are presentational CSS class changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
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 |
|
@raghavpuri31 please have a look |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
landing-page/src/Pages/Footer/Footer.tsx (1)
30-32: Inner border invisible in light mode.The inner
border-whitewill be invisible against the white background in light mode. Update to match the outer border's dark-mode-aware pattern.🔎 Suggested fix
- <div className="mt-4 text-center border-t border-white pt-2"> + <div className="mt-4 text-center border-t border-black dark:border-white pt-2">
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
landing-page/src/Pages/FaqPage/FAQ.tsx(1 hunks)landing-page/src/Pages/Footer/Footer.tsx(1 hunks)landing-page/src/Pages/Landing page/Home1.tsx(1 hunks)landing-page/src/Pages/pictopy-landing.tsx(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Backend Tests
🔇 Additional comments (4)
landing-page/src/Pages/Landing page/Home1.tsx (1)
17-24: LGTM!The
py-2addition appropriately addresses gradient text clipping. This is a common fix forbg-clip-textelements where descenders (like the 'y' in "PictoPy") can get cut off without sufficient vertical padding.landing-page/src/Pages/pictopy-landing.tsx (2)
22-22: LGTM!The section styling with dark mode support (
bg-white dark:bg-black) and transition is consistent with the theming approach across the landing pages.
59-61: LGTM!The
py-2padding fix for the gradient heading is consistent with the same fix applied inHome1.tsx, ensuring uniform text display across components.landing-page/src/Pages/FaqPage/FAQ.tsx (1)
58-60: LGTM!The
py-2fix for gradient text clipping is consistent with other headings in this PR. The reduced bottom margin (mb-2frommb-6) tightens the spacing between the heading and subtext—verify this provides the desired visual balance.
rohan-pandeyy
left a comment
There was a problem hiding this comment.
@Aditya30ag Address the footer text color issue. The other suggestions are improvements for refactoring.
|
@rohan-pandeyy Footer (
|
|
@rahulharpal1603 Please check now it is ready |
rahulharpal1603
left a comment
There was a problem hiding this comment.
Thanks @Aditya30ag!
#813 issue closing
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.