3

For some reason, code blocks wrap lines on mobile sites. Seen on Android 6.0.1, both Firefox and Chrome:

enter image description here enter image description here

  • Can't figure anything from the screenshot, please take something in normal size. – Shadow Wizard Jan 3 '16 at 13:17
  • @ShadowWizard The screenshots are normal size (1080x1920), I used the small thumbnails from imgur by adding s to image hash. – muru Jan 3 '16 at 13:19
  • @ShadowWizard screenshots now link to the full size images. – muru Jan 3 '16 at 13:21
  • 1
    Well, don't think it's a bug, since on mobile it's harder to scroll. More likely a feature of the mobile theme to make the site more easy to access. If you want scrollbars, simply click "full site" in the footer and you'll have them all back. – Shadow Wizard Jan 3 '16 at 14:13
  • @ShadowWizard the code blocks have vertical scroll bars (those are more annoying, rather). They lack horizontal scrolling. If one, why not the other? – muru Jan 3 '16 at 14:18
  • Well, I see no scroll bars in your screenshots... and anyway it's probably easier and more intuitive to have vertical scrollbar. – Shadow Wizard Jan 3 '16 at 14:20
  • 1
    @ShadowWizard the code blocks in question aren't long enough for vertical scrolling to be needed. It is easier? So that you can start scrolling on a question and then get trapped in scrolling a code block? – muru Jan 3 '16 at 14:23
  • 1
    Just saying that most likely SE dev will mark this bug report as status-bydesign at some point. Of course I might be wrong, just using my experience here and sharing my opinion. I'm not against the idea itself and didn't downvote. – Shadow Wizard Jan 3 '16 at 15:32
  • Small correction: Latest Android is 6.0.1, not 6.1, though I don't think it affects the issue. This is more likely a CSS + browser interaction issue. – No Distraction Wizard Jan 7 '16 at 6:22
  • @AndrewT. Corrected, thanks! – muru Jan 7 '16 at 6:24

You must log in to answer this question.

Browse other questions tagged .