Conversation
Dashboard hero: move overflow-hidden to an inner background-clip div so the mascot can extend above the card boundary (lg:-top-10, max-h 30rem). Sidebar invite card: overflow-visible + larger chibi (-bottom-4, h-24) so it pops out of the card like the design reference. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR adjusts dashboard and sidebar mascot presentation so characters can visually extend outside their card containers while keeping background artwork clipped to rounded card shapes.
Changes:
- Moves dashboard hero background clipping into an inner rounded container.
- Repositions and enlarges the dashboard hero mascot on large screens.
- Allows the sidebar invite mascot to overflow its card and adds a small drop shadow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
web/default/src/features/dashboard/components/overview/dashboard-hero.tsx |
Updates hero clipping structure and mascot positioning. |
web/default/src/components/layout/components/sidebar-cards/invite-friend-card.tsx |
Allows the invite mascot to overflow and increases its visual size. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| alt='' | ||
| aria-hidden | ||
| className='pointer-events-none absolute -bottom-2 -right-2 h-20 w-20 object-contain select-none' | ||
| className='pointer-events-none absolute -bottom-4 -right-3 h-24 w-24 object-contain select-none drop-shadow-sm' |
Revert the hero portion of 8048b7a's mascot-overflow change: restore section overflow-hidden, drop -top-10/30rem in favor of vertically centering the mascot inside the right column with max-h-[26rem]. Also remove the small glass uptime card that duplicated the 99.9% badge baked into the mascot artwork. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small mascot tweaks for the dashboard:
Sidebar invite card chibi — pops out of the card boundary like the design reference
overflow-hidden→overflow-visibleon the cardLinkh-20 w-20 -bottom-2 -right-2→h-24 w-24 -bottom-4 -right-3drop-shadow-smfor depthDashboard hero mascot — kept inside its container, with the redundant uptime card removed
<section>(still usesoverflow-hidden); vertically centered in the right column vialg:top-0 lg:bottom-0 lg:my-auto lg:max-h-[26rem]{brand} · Smart Route · 99.9% Uptime— it duplicated the 99.9% badge already baked into the mascot artworkTest plan
/dashboard/overview: mascot fits inside the hero card (no clipping above the top edge)🤖 Generated with Claude Code