Skip to content

Card Builder: drag grips to resize a fixed width or height - #342

Merged
nstarman merged 2 commits into
mainfrom
claude/card-builder-fixed-resize-drag-4cfee9
Oct 6, 2026
Merged

nstarman merged 2 commits into
mainfrom
claude/card-builder-fixed-resize-drag-4cfee9

Conversation

@nstarman

@nstarman nstarman commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Changing code or schema

What and why: when the card's width or height is set to a fixed size, the preview card gets a grip on its right edge (width) and/or bottom edge (height). Dragging resizes live; on release the px box is set and the card re-renders, clamped to the same limits as the box. The grips are not click-to-tune targets. Code is attachSize in src/lib/cardbuilder/overlay.js.

  • npm run test:unit passes (full npm test left to CI)
  • No link.rel or type added; no new constraint

Checked in the browser with synthetic pointer events: width 440→400 and height 400→300 by dragging.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nstarman nstarman added this to the ♾️&➡ milestone Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Preview: https://52d24b43.nstarkman-space.pages.dev

Built from abc85d079b713b6a9130701a9f43978139008b8e, including the four CV PDFs.
Updated on every push to this pull request.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nstarman
nstarman merged commit 45fc8aa into main Oct 6, 2026
6 of 7 checks passed
@nstarman
nstarman deleted the claude/card-builder-fixed-resize-drag-4cfee9 branch October 6, 2026 17:23
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