Skip to content

fix(web): onshape chip in the cad header no longer gets squished - #225

Merged
AadiJo merged 1 commit into
mainfrom
cad-header-chip-squish
Nov 8, 2026
Merged

AadiJo merged 1 commit into
mainfrom
cad-header-chip-squish

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

In a narrow CAD panel, the Onshape chip next to the project title could collapse to a dot, squishing its logo and name. It happened most while the Sync button showed "Syncing…". The title never shrank, so the chip was the only thing that gave up width.

Now the title shrinks first, down to a small floor, before the chip does. Short titles keep their natural width.

Before and after, rendered with the same classes at real panel widths (360px is the panel minimum):

before and after


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
cadsense Skipped Skipped Nov 8, 2026 9:03pm UTC

@AadiJo
AadiJo merged commit 054f999 into main Nov 8, 2026
8 checks passed
@AadiJo
AadiJo deleted the cad-header-chip-squish branch November 26, 2026 19:49

This branch was previously deployed

1 inactive deployment
Preview — f330c39b Deployed Nov 8, 2026 by vercel[bot]
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