githubnext/chopinPublic

Let's compose rich plans together

Keep every icon at its declared size beside wrapping text

Icons are flex items with the default flex-shrink: 1, so a label long enough
to wrap squeezed them: the resolved decision popover's check and cross icons
and the settled decision line rendered at different, tiny sizes. Hold every
shared icon at its size from the base layer, and centre icons beside wrapping
text on the first line with one icon-first-line utility.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
71b3d34Patch
Parentf5599b9
14 files changed+282-13
StackedSplit
apps/web/src/chat/chat.tsx+2 −2
apps/web/src/chat/work-progress.tsx+5 −1
apps/web/src/icon-assets.test.ts+7 −0
apps/web/src/theme.css+17 −0
bun.lock+3 −0
e2e/icon-size.e2e.ts+116 −0
e2e/source/icon-size.fixture.ts+103 −0
packages/editor/src/resolved-layer.tsx+3 −3
packages/editor/src/styles.css+0 −4
packages/editor/src/widgets/questionnaire.tsx+1 −1
packages/icons/package.json+4 −1
packages/icons/src/brand.tsx+8 −1
packages/icons/src/filled.tsx+1 −0
packages/icons/src/icon.test.tsx+12 −0