Skip to content

fix(website): fix sponsor banner truncation on mobile - #1549

Merged
tomalaforge merged 1 commit into
mainfrom
tomalaforge/fix-sponsor-banner-truncation
Aug 31, 2026
Merged

fix(website): fix sponsor banner truncation on mobile#1549
tomalaforge merged 1 commit into
mainfrom
tomalaforge/fix-sponsor-banner-truncation

Conversation

@tomalaforge

@tomalaforge tomalaforge commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace truncated "Sustained by sponsors" text with "Sponsors" on mobile to prevent text overflow
  • Remove min-w-0 and truncate classes that caused the ellipsis
  • Desktop keeps the full "This project is sustained by its sponsors" string unchanged

Summary by CodeRabbit

  • Style
    • Updated the sponsors banner to display “Sponsors” on small screens.
    • Preserved the full sponsor message on larger screens.

Replace truncated "Sustained by sponsors" text with "Sponsors" on mobile
to prevent text overflow. Desktop keeps the full string.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
angular-challenges-website Ready Ready Preview Aug 31, 2026 8:27am

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b440459-25e5-46d9-8afc-1bd7c5ee2a24

📥 Commits

Reviewing files that changed from the base of the PR and between cd75086 and 22aae22.

📒 Files selected for processing (1)
  • website/src/app/pages/landing/landing.html

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

The landing page sponsors banner now displays “Sponsors” on small screens. It keeps the existing desktop message and removes the truncation wrapper.

Changes

Sponsors banner

Layer / File(s) Summary
Update sponsors banner content
website/src/app/pages/landing/landing.html
The mobile label changes from “Sustained by sponsors” to “Sponsors”. The banner removes the min-w-0 and truncation wrapper. The desktop message remains unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 22aae

This localized website change prevents the sponsor banner from truncating on mobile while preserving the desktop wording; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description accurately summarizes the code changes, but it does not follow the repository template. It omits the required challenge submission checklist, sponsorship notice, and related informatio… Update the description to include the required challenge submission checklist and sponsorship notice from the repository template. Also ensure the title starts with Answer:${challenge_number} if this pull request submits a challenge answe…
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the sponsor banner truncation fix on mobile.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description accurately summarizes the code changes, but it does not follow the repository template. It omits the required challenge submission checklist, sponsorship notice, and related information.

Resolution

Update the description to include the required challenge submission checklist and sponsorship notice from the repository template. Also ensure the title starts with Answer:${challenge_number} if this pull request submits a challenge answer.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tomalaforge/fix-sponsor-banner-truncation

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.

@tomalaforge
tomalaforge merged commit 0deb691 into main Aug 31, 2026
7 of 9 checks passed
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.

1 participant