Closed
Bug 893129
Opened 11 years ago
Closed 11 years ago
Move Infobar to the bottom of the browser
Categories
(Firefox for Metro Graveyard :: Downloads, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 883953
People
(Reporter: emtwo, Unassigned)
References
Details
(Whiteboard: [preview])
Attachments
(1 file)
No description provided.
Updated•11 years ago
|
Whiteboard: [preview]
Reporter | ||
Comment 1•11 years ago
|
||
I'm having trouble finding the code responsible for the browser shifting down when an infobar shows up at the top.
`notification.dir = "reverse"` correctly brings the infobar to the bottom but without setting `Elements.browsers.style.marginTop`, the infobar is not visible (It's behind the browser. However, this isn't an issue when the infobar is at the top.
Matt, any pointers on how this is looking or where I should look? Thanks!
Flags: needinfo?(mbrubeck)
Comment 2•11 years ago
|
||
(In reply to Marina Samuel [:emtwo] from comment #1)
> I'm having trouble finding the code responsible for the browser shifting
> down when an infobar shows up at the top.
ContentAreaObserver manages the height of the <browser> element by giving it the "content-height" class and then setting explicit heights on this class to match the screen height.
Since the <notification> stack and the <browser> are siblings, whichever one is first will push the other down:
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/notification.xml
I think maybe we want to add class="content-height content-width" to the <notificationbox> rather than the <browser> so, that both its children (the notifications and the browser) will fit within the screen dimensions.
Flags: needinfo?(mbrubeck)
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•