Skip to content

Add Mouse & Cheese demo #133

Open
carobarbosaux wants to merge 1 commit intochenglou:mainfrom
carobarbosaux:claude/custom-pretext-design-6Ipgp
Open

Add Mouse & Cheese demo #133
carobarbosaux wants to merge 1 commit intochenglou:mainfrom
carobarbosaux:claude/custom-pretext-design-6Ipgp

Conversation

@carobarbosaux
Copy link
Copy Markdown

A new demo page (/demos/mouse-cheese) showing Pretext's layoutNextLine() used for per-line variable-width layout: each story line gets a narrower available width while it overlaps the cheese block, so the text naturally wraps around the illustration. A slider resizes the cheese in real time and the text reflows without any DOM measurements in the resize path.

The cheese and mouse are inline SVGs (cute cartoon style). The demo is added to the demos index grid alongside the existing nine demos.

https://claude.ai/code/session_01P3CMU8eN1riSUg4EzCaMcA

…ration

A new demo page (/demos/mouse-cheese) showing Pretext's layoutNextLine()
used for per-line variable-width layout: each story line gets a narrower
available width while it overlaps the cheese block, so the text naturally
wraps around the illustration. A slider resizes the cheese in real time
and the text reflows without any DOM measurements in the resize path.

The cheese and mouse are inline SVGs (cute cartoon style). The demo is
added to the demos index grid alongside the existing nine demos.

https://claude.ai/code/session_01P3CMU8eN1riSUg4EzCaMcA
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