Skip to content

Boosted cards UI fixes#1829

Merged
ragnep merged 5 commits intomainfrom
boosted-cards-ui-fixes
Jan 26, 2026
Merged

Boosted cards UI fixes#1829
ragnep merged 5 commits intomainfrom
boosted-cards-ui-fixes

Conversation

@ragnep
Copy link
Copy Markdown
Contributor

@ragnep ragnep commented Jan 26, 2026

Summary by CodeRabbit

  • Style
    • Refined card and preview layouts with adjusted aspect ratios, uniform column behavior, and added height constraints
    • Introduced conditional text display and updated text clamping for clearer content presentation
    • Tweaked spacing, text color, border/hover visuals, and gradient opacity for improved contrast
    • Minor layout refinements to better align media and content blocks across variants

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: ragnep <ragneinfo@gmail.com>
Signed-off-by: ragnep <ragneinfo@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 26, 2026

📝 Walkthrough

Walkthrough

Refactors layout and styling across home preview components: minor whitespace change in HomePageContent; substantial layout and conditional-rendering adjustments in BoostedDropCardHome; height, rounding, gradient, and line-clamp updates in OpenGraphPreview; and small color/padding tweaks in ContentDisplay.

Changes

Cohort / File(s) Summary
Whitespace cleanup
components/home/HomePageContent.tsx
Removed an empty line between NowMintingSection and HomePageTextSection.
Boosted drop card layout
components/home/boosted/BoostedDropCardHome.tsx
Replaced conditional header classes with a constant; unified content sizing to a 2/1 media layout; introduced contentWrapperGapClasses and shouldShowTextContent to control grid vs centered flex layouts and text rendering; adjusted media container aspect ratio, overflow guards, border/hover styles, and removed author/wave comment markers.
OpenGraph preview adjustments
components/waves/OpenGraphPreview.tsx
Added tw-h-full constraints for home variant, changed card rounding to tw-rounded-t-xl, tightened gradient opacity stops, and reduced title/description clamping from 2 lines to 1.
Content display styling
components/waves/drops/ContentDisplay.tsx
Updated container text color from tw-text-iron-300tw-text-iron-400 and added tw-px-4 and tw-pb-3 padding.

Sequence Diagram(s)

(omitted — changes are styling/layout-focused and do not introduce new multi-component control flows)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • simo6529
  • prxt6529

Poem

🐰 I hopped through pixels, nibbled space,

Tweaked a header, tightened place.
Media snug in two-to-one,
Lines shortened, borders done.
A tiny hop — the home page hums with grace. 🎨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Boosted cards UI fixes' directly reflects the main changes in the PR, which focus on styling and layout updates to the BoostedDropCardHome component and related UI improvements.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: ragnep <ragneinfo@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

@ragnep ragnep merged commit 09e1d14 into main Jan 26, 2026
7 checks passed
@ragnep ragnep deleted the boosted-cards-ui-fixes branch January 26, 2026 13:13
@coderabbitai coderabbitai Bot mentioned this pull request Feb 9, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants