Skip to content

fix(ui): mascot polish — invite chibi overflow & cleaner hero - #4

Merged
ItzArona merged 2 commits into
mainfrom
dev
May 18, 2026
Merged

fix(ui): mascot polish — invite chibi overflow & cleaner hero#4
ItzArona merged 2 commits into
mainfrom
dev

Conversation

@ItzArona

@ItzArona ItzArona commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Two small mascot tweaks for the dashboard:

Sidebar invite card chibi — pops out of the card boundary like the design reference

  • overflow-hiddenoverflow-visible on the card Link
  • Enlarged chibi: h-20 w-20 -bottom-2 -right-2h-24 w-24 -bottom-4 -right-3
  • Added drop-shadow-sm for depth

Dashboard hero mascot — kept inside its container, with the redundant uptime card removed

  • Mascot stays within the <section> (still uses overflow-hidden); vertically centered in the right column via lg:top-0 lg:bottom-0 lg:my-auto lg:max-h-[26rem]
  • Removed the small glass card showing {brand} · Smart Route · 99.9% Uptime — it duplicated the 99.9% badge already baked into the mascot artwork
  • (An earlier commit on this branch tried to let the hero mascot overflow the section like the invite chibi, but it overcorrected — the artwork has too much vertical bleed and ended up either oversized or floating away depending on the height constraint. Containing it looks closer to the intended design.)

Test plan

  • Sidebar: invite chibi pops below the card boundary, with drop shadow
  • /dashboard/overview: mascot fits inside the hero card (no clipping above the top edge)
  • Hero card no longer shows a "99.9% Uptime" glass overlay in the top-right
  • Hero background still clips cleanly to the rounded corners (no bleed)
  • Mobile: hero mascot is hidden (lg-only); sidebar chibi still rendered

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings May 18, 2026 11:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@ItzArona ItzArona changed the title fix(ui): mascot overflow — allow characters to break out of cards fix(ui): mascot polish — invite chibi overflow & cleaner hero May 18, 2026
@ItzArona
ItzArona requested a review from Copilot May 18, 2026 12:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@ItzArona
ItzArona merged commit b351d6d into main May 18, 2026
1 check 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.

2 participants