Just adopt https://cheeaun.github.io/hackerweb/ it does wonders on phone/tablet form factors. This design will not easily accomodate slightly larger displays such as tablets very well. This screenshot someone posted points out a lot of CSS problems regarding font size and the navigation layout: http://i.imgur.com/idgEFon.png
Ask HN: New attempt at mobile markup – keep or bail?
241–250 of 299 posts
Re: Ask HN: New attempt at mobile markup – keep or bail?
#242The design looks actually worse on Windows Phone[1,2]. The text is (or feels) a bit smaller now on portrait mode, so I'd have to switch to landscape. And the top menu is out of alignment. (Edit: The text is definitely smaller. I think it used to reflow nicely with bigger text but now it doesn't, forcing me to zoom out all the way) Since we are talking about mobile, I'd focus on improving the arrows - I've downvoted w…
Re: Ask HN: New attempt at mobile markup – keep or bail?
#243Re: Ask HN: New attempt at mobile markup – keep or bail?
#244Earlier quoted context omitted.
Viewport "bug" is a "feature" in iOS—change the textarea's font-size to 16px to override the auto-zoom.
This works very well: @media screen and (-webkit-min-device-pixel-ratio:0) { select:focus, textarea:focus, input:focus { font-size: 16px; } } It uses a css selector only available on iOS devices and enables a larger font to prevent zoom. [Original concept] http://stackoverflow.com/a/16255670/209005
I only wish there was some collaborative environment we could use to request changes to the code be pulled in and utilized.
Re: Ask HN: New attempt at mobile markup – keep or bail?
#245Re: Ask HN: New attempt at mobile markup – keep or bail?
#246Re: Ask HN: New attempt at mobile markup – keep or bail?
#247Re: Ask HN: New attempt at mobile markup – keep or bail?
#248Just adopt https://cheeaun.github.io/hackerweb/ it does wonders on phone/tablet form factors. This design will not easily accomodate slightly larger displays such as tablets very well. This screenshot someone posted points out a lot of CSS problems regarding font size and the navigation layout: http://i.imgur.com/idgEFon.png