5

Images in post when viewed using Chrome on Android are sometimes misplaced.

Example from Why are there so many subway station signs between Yau Ma Tei station and Mong Kok station on Google Maps?: the image

enter image description here

has different location depending on whether it is viewed on Chrome on computer or Chrome on Android.

As viewed in Chrome on computer:

enter image description here

As viewed in Chrome on Android,

enter image description

is placed on a new line:

enter image description here

  • 1
    Getting downvoted for reporting a bug, that's how I know I am on Stack Exchange. – Franck Dernoncourt Oct 20 at 19:46
  • Is it not supposed to be like that? It’s the same in the iOS app. – Laurel Oct 20 at 20:02
  • 1
    @Laurel that'd probably be better to ensure consistent rendering across devices. What would be the point to go to a new line in the given example? – Franck Dernoncourt Oct 20 at 20:07
2

Mobile version of the website includes this CSS:

.post-text img {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block
}

Developers probably decided that images tend to be be big (and are rarely used inline), so centered images would be appropriate on mobile devices with small screens and would look better this way. I suspect it's .

You must log in to answer this question.

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