Show HN: This one line of code will make HN usable on mobile devices

12 points by hornbaker 12 years ago

Since the HN devs seem to be in dev-mode, I thought I'd put in one more little request. :)

This one line of code, added to the head of HN's html, will make the site actually usable on mobile devices:

  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>

Here are the before and after pics of the front page:

  http://imgur.com/rMYfqwN,mwPDMvB#0
kogir 12 years ago

Been there, tried that:

  https://news.ycombinator.com/item?id=6253835
  https://news.ycombinator.com/item?id=6253403

Trust me, it's worse on most devices. On the Android devices I tested comments often get compressed to two or three characters per line.

  • hornbaker 12 years ago

    Bummer, but thanks for the reply. FWIW, I'd prefer compression of nested comments over having to scroll horizontally, back-and-forth, to read anything on the site.

  • cpncrunch 12 years ago

    On my galaxy note GT-N7000 I have the opposite problem - the text is tiny and I have to zoom in.

    Would a better solution be to set a viewport width of 800 or 1000 pixels on mobile devices?