https://bugzilla.wikimedia.org/show_bug.cgi?id=31449

Yohei Shimomae <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yohei Shimomae <[email protected]> 2011-10-17 
20:54:06 UTC ---
So the quickest and clean way to solve this right now is to add the next lines
of CSS to wikipedia mobile site (this needs to be done from the actual wiki
site and not the app as trying to do this from the app will run into
crossdomain error):

img {
    height: auto;
    max-width: 100%;
}

This will prevent all the images from going beyond device width. Please note
that this applies to all images on the site while this additional CSS is in
place. So this also affects to image detail page (e.g.
http://en.m.wikipedia.org/wiki/File:Canon_EOS-1D.jpg) but not the link to the
actual image (e.g.
http://upload.wikimedia.org/wikipedia/commons/a/a4/Canon_EOS-1D.jpg).

This styling won't affect tables and non-image elements.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to