News for hackers. Stuff that matters.
Re:When Your Screen Breaks in the Himalayas by unicornporn on Saturday October 22, 2016 @03:17PM (#12770134)
When the content of your website only fills 60 percent of your mobile viewport and you can't zoom.
Re:When Your Screen Breaks in the Himalayas by tombh on Saturday October 22, 2016 @03:35PM (#12770245)
I 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 :/
Re:When Your Screen Breaks in the Himalayas by kupiakos on Saturday October 22, 2016 @04:07PM (#12770358)
On line 402 in css/style.css, change `.wrapper` to

    .wrapper {
        width: 100%;
        padding: 10px 0;
    }
Re:When Your Screen Breaks in the Himalayas by tombh on Saturday October 22, 2016 @04:15PM (#12770381)
Yes, perfect, thank you. Deployed.
Re:When Your Screen Breaks in the Himalayas by kupiakos on Saturday October 22, 2016 @06:05PM (#12770779)
You could probably also change

    @media (max-width: 550px) .content { padding: 0 5px; }
but at that point it's more of a style preference.

(also, I just signed up for a HN account for this haha)

Re:When Your Screen Breaks in the Himalayas by tombh on Sunday October 23, 2016 @02:02AM (#12772209)
Well I agree with your style preference, deployed.
Re:When Your Screen Breaks in the Himalayas by tedmiston on Saturday October 22, 2016 @04:30PM (#12770436)
That 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.
Re:When Your Screen Breaks in the Himalayas by unicornporn on Saturday October 22, 2016 @04:24PM (#12770412)
Thanks! Worst practice, actually. Now I'll finishing reading the article, looks exciting! :)
Re:When Your Screen Breaks in the Himalayas by Pxtl on Saturday October 22, 2016 @03:22PM (#12770167)
Iirc, Android has a setting in the disability/accessibility section to override zoom-blocking.
Re:When Your Screen Breaks in the Himalayas by digi_owl on Saturday October 22, 2016 @05:16PM (#12770599)
Dunno about android in general, but all the major browsers there should have a such an override option.