Closed Bug 821705 Opened 12 years ago Closed 12 years ago

Banner in desktop view on mobile device is huge

Categories

(support.mozilla.org :: Knowledge Base Software, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q1

People

(Reporter: atopal, Assigned: mythmon)

Details

(Whiteboard: u=user c=wiki p=1 s=2012.24)

Attachments

(3 files)

If you are on a smartphone and decide to see the desktop view of a support article, the banner we show you on top to go back to the mobile view is huge, like really huge. On my iPhone it's 1.5 times the size of the whole screen.
Kadir: The banner is designed so that when the page is fully zoomed out (which is the default initial view on all phones I tested) the banner fills 100% of the width, and about 20% of the height of the screen. The size of the banner doesn't change as you zoom, so if you zoom in, the banner will get visually larger. Does this intended behavior match what you are seeing? If not, can you please send me a screenshot?
Mike, that behavior would be great, but it's not what I'm seeing. I'm attaching a screenshot of what is displayed when I choose "desktop view" on an article. This is i0S6 on an iPhone 4s.

There is a similar issue with Firefox on Android, but there it's the opposite, the banner is a super thin, almost invisible line. I'll add a screenshot to visualize the issue.
This is the banner on Firefox on my Nexus S with Android 4.1
Odd. This is what I see on my Nexus 4 running 4.2.1,
Aha, I have figured out at least why your Firefox doesn't display this correctly. It turns out that one of the features of CSS I used isn't supported until Firefox 19. I was testing in Nightly (20), so I didn't see it. Sorry about this! I will work on an alternative way to do this.

Safari 6.0 is supposed to support these features, but apparently not well enough. These features (viewport relative units) aren't an option for quite some time, until at least Firefox supports them.
Moving this into the current sprint, because I'm hacking on it and I'm almost done. Estimating as one point, because it has been pretty straight forward.
Whiteboard: u=user c=wiki p= s=2013.1 → u=user c=wiki p=1 s=2012.24
Assignee: nobody → mcooper
Deployed to prod.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: