Skip to content

feat(map): circle-crop opaque honeymoon pin images - #92

Merged
streambinder merged 1 commit into
masterfrom
feat/honeymoon-pin-circle-crop
Sep 29, 2026
Merged

streambinder merged 1 commit into
masterfrom
feat/honeymoon-pin-circle-crop

Conversation

@streambinder

Copy link
Copy Markdown
Owner

Honeymoon map pins with non-transparent images (e.g. JPG) now render as CSS circle crops instead of rigid squared boxes. Transparent PNGs keep their natural shape via the existing places-pin-media-transparent class; everything else gets the new places-pin-media-opaque class (border-radius: 50% + object-fit: cover). Detection reuses the existing supportsTransparency() heuristic in places.js.

Keeps transparent images untouched while non-alpha images render as circles instead of rigid boxes.
@streambinder
streambinder force-pushed the feat/honeymoon-pin-circle-crop branch from 2ae2fe0 to 187750c Compare September 29, 2026 11:39
@streambinder
streambinder merged commit 06ed679 into master Sep 29, 2026
8 checks passed
@streambinder
streambinder deleted the feat/honeymoon-pin-circle-crop branch September 29, 2026 11:45
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