Repository navigation
fix(components/MaintainersMap): restore mobile zoom-in headroom above the starting size - #1628
Conversation
… the starting size
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page. Compared with main at |
|
Separating the starting scale from the zoom limit fixes the disabled mobile zoom-in control while keeping the opening size and reset unchanged. I’m landing this scoped correction.
|
Summary
#1572 gave the mobile homepage globe 20% zoom-in headroom above its starting size. #1593 then started the mobile globe at that limit (
mobileMaxZoom) while keeping it as the zoom limit, so on phones the globe opens at maximum zoom: Zoom in is disabled from the start, and wheel and pinch can't zoom in either.This separates the two values.
mobileInitialScalekeeps #1593's starting size (the globe still opens at 106% of the viewport width), andmobileMaxZoomis set 20% above it again. Desktop is unchanged.Verification
Measured the homepage globe locally at a 606px-wide window (mobile breakpoint):
At 1496px wide, the starting size, max zoom and reset match main. No console errors.