fix: move BMB announcement to custom Banner component#16
Conversation
Starlight banner config doesn't render with custom Header. Added announcement row to Banner.astro and removed unused config.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 26 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 |
🤖 Augment PR SummarySummary: Moves the community/marketplace announcement out of Starlight’s config banner into the custom 🤖 Was this summary useful? React with 👍 or 👎 |
| .announce-banner { | ||
| width: 100vw; | ||
| margin-left: calc(-50vw + 50%); | ||
| height: var(--ai-banner-height, 2.75rem); |
There was a problem hiding this comment.
website/src/components/Banner.astro:19 Adding a second banner row means the header’s total banner height is now 2× --ai-banner-height, but website/src/styles/custom.css still computes --sl-nav-height and header.header .header.sl-flex assuming only one banner; this can cause the header/banners to overflow or get clipped.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Summary
Banner.astroas a second row (Starlight banner config doesn't render with custom Header)bannerconfig fromastro.config.mjsTest plan