Poses nest into the chat bubble corner (desktop and phone) #72
Loading…
Reference in a new issue
No description provided.
Delete branch "void/pose-in-bubble"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Poses nest into the chat bubble's corner on desktop and phone alike.
Before (CSS reading): desktop portrait absolutely positioned left of the bubble, outside it; phone portrait floated with a -82px top margin, straddling the top edge, tail hanging past it, faded by a bottom mask, with a header band above the bubble to hold the overhang.
After: the sprite is a float inside the bubble's top corner (left; right for the odd-indexed Minds, as before), margins pull it into the 12px padding on top, bottom and outer side, and
overflow: clipon the bubble makes the bubble edge the crop (rounded corner included). Text wraps the silhouette (shape-outside, traced over the cropped view), the bubble grows to the sprite, nothing hangs outside. Sprite width 190px desktop, min(38vw,160px) phone.Crop: pure
nestView(pose/nest.ts, exact-value tests) crops half of the room between a safe box and the image edge on the corner's side and the top, never the far side or bottom. Aqua's 15 measured safe boxes (handoffaqua-pose-crop-boxes-20261110) are insafeBoxes.json; other Minds' art has no measured box, so its alpha bounds are traced on load (all transparent margin may go).Cut: BubbleRowPose/Portrait, BubbleColumnPose, BubbleHeaderPose(+Alt), the overhang band, the -82px margins, the bottom mask, the phone-only name-wrap rules, the
altprop of BubbleLayout.Verified: vitest (612 pass; the 6
footerBand.test.tsfailures also fail on clean dev here: esbuild cannot parse a package.json outside the repo), prettier and eslint clean on changed files, tsc clean for message/pose and message/layout.Not verified: nothing was rendered (no browser on this host). Unseen: how the crop looks on a real bubble, the bust's flat bottom cut when text is taller than the sprite (the old fade is gone), Aqua's boxes in client (she marks them unchecked), the left-corner crop, shape-outside tracing offsets, continuation (pose-less) bubbles now starting at row start. Before/after renders to come from Self on Starfire.
🤖 Generated with Claude Code