5 ms·
When the content of your website only fills 60 percent of your mobile viewport and you can't zoom.
by unicornporn 10y ago
When the content of your website only fills 60 percent of your mobile viewport and you can't zoom.
- Pxtl 10y agoIirc, Android has a setting in the disability/accessibility section to override zoom-blocking.
- digi_owl 10y agoDunno about android in general, but all the major browsers there should have a such an override option.
- tombh 10y agoI just removed "maximum-scale=1, user-scalable=no", is that better? TBH I would have just copied that from somewhere assuming it was best practice :/
- kupiakos 10y agoOn line 402 in css/style.css, change `.wrapper` to .wrapper { width: 100%; padding: 10px 0; }
- tombh 10y agoYes, perfect, thank you. Deployed.
- unicornporn 10y agoThanks! Worst practice, actually. Now I'll finishing reading the article, looks exciting! :)
- tedmiston 10y agoThat is what Apple used to recommend but the general approach these days is to allow the user to scale however they want as long as it doesn't break your UI, and for accessibility reasons.
- deleted 10y ago[deleted]