Page MenuHomePhabricator

Android app should handle large images better when sections expand beyond device width
Closed, ResolvedPublic

Description

Load the trauma center article in en wiki and notice that the article is nice and centered. Then expand the deifinitons within the united states tab which will reflow all the text to match the image width making it really hard to read. instead let's make the image scalars size the image for the appropriate width. Or we could put a place holder tell ing the user their is an image and then we could show it full screen.


Version: 1.0.0 (Android)
Severity: enhancement

Details

Reference
bz31892

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:50 PM
bzimport set Reference to bz31892.

Is this Android-specific, or is this just a general MobileFrontend problem?

philinje wrote:

This is related to 32123. The issue here is that text is formatted to the width of a graphic that exceeds the screen width, and then horizontal scrolling is required.

What we want is:

Text keeps formatting to fit screen width, horizontal scrolling enabled so graphic can be viewed.

I've had positive results in experiments adding styles like this:

a.image img {

max-width: 100%;
height: auto;

}

on at least current iOS and Android devices. Should be tested more thoroughly.

philinje wrote:

Brion, I think this is fixed. If not, please re-open.