Hacker News new | ask | show | jobs
by jddj 567 days ago
I'd like it if I could zoom on my phone on a site about ui/ux with small pictures.
3 comments

If you're on Android, there's an accessibility option in Firefox and Chrome that allows you to always zoom on any page, even if the website normally prevents it. On Firefox it's under Settings -> Accessibility -> Zoom on all websites.
That's better, thanks
Hey, I'm the author of this site! You're on Android I think, based on the other comments here? I only have an iPhone to test, but I can pinch+expand the site on my phone no problem. Was not intentional to have blocked it! Sorry, I'll see if I can work out why.
It's this in the <head>

  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
Remove the maximum-scale property.
Thanks! Will try shortly. I guess iOS/Safari just ignores this property then.
Firefox Android, yep.

That makes some sense actually if iOS ignores it. Whenever I come across the behaviour I wonder why, but if it's just a copy/paste magic meta tag which goes unnoticed by most browsers then I can see how that could proliferate.

Ok, this should be fixed now, let me know if you still can't zoom!
Works, thanks
Works for me!
My Samsung phone on Chrome lets me.