Files
OSINT-Framework/public
s0lrayandPaperclip bc2387831d Zoom to fill viewport on mobile initial load (THE-119)
Adjust the SVG viewBox on mobile to match the actual rendered aspect
ratio instead of the fixed 1280x800 landscape ratio. The previous
implementation computed the zoom scale against the viewBox dimensions,
but on a tall/narrow mobile screen with min-height: 60vh the SVG
element is much taller than the viewBox maps to with xMidYMid meet.
By stretching the viewBox to match the real element proportions, the
tree's vertical extent now has proper headroom and the initial zoom
fills the viewport as expected.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-26 19:08:55 -04:00
..