2

I'm using a Nexus 5. When browsing the mobile website on the browser (Chrome) with "Request Desktop Site" turned off, I get this appearance for code blocks (on this answer):

unformatted code blocks

This is rather unfortunate because it makes code (and especially tables like the above picture) very hard to read.

The Chrome browser clearly supports preformatted text, because it shows up correctly if I request the desktop site. (But then, it is more difficult to use the site).

2
  • That may not be code, but a quote instead. Could you provide a link to the actual post?
    – Werner
    Commented May 2, 2014 at 2:24
  • I think this is an Android issue, as pointed out by balpha.
    – chue x
    Commented May 2, 2014 at 3:00

1 Answer 1

1

Chrome for Android has a sketchy history of bad support for monospace and font-family in general. I've substituted the old simple "monospace" we used with "Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace", which is what we use on the desktop site, which Chrome for Android seems to handle correctly.

This will be out in the next builds (2253 on meta and 1611 on the network).

1
  • 1
    Assuming that meta.so picked up this change, it doesn't seem to have worked. I'm using a Nexus 5, stock Android 4.4.4.
    – nneonneo
    Commented Jul 7, 2014 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .