Closed Bug 1132656 Opened 11 years ago Closed 11 years ago

Reader mode toolbar overlaps content if window becomes too narrow.

Categories

(Toolkit :: Reader Mode, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla40
Tracking Status
firefox38 --- verified
firefox39 --- fixed
firefox40 --- verified

People

(Reporter: Margaret, Assigned: abhinav.koppula, Mentored)

References

Details

(Whiteboard: [lang=css])

Attachments

(1 file, 2 obsolete files)

Follow-up to bug 1120735. We probably need to add some extra padding to the left side of the body to account for the toolbar.
Flags: qe-verify+
Hey Margaret, Can I work on this bug?
(In reply to Vaibhav Bhosale from comment #2) > Hey Margaret, > Can I work on this bug?
(In reply to Vaibhav Bhosale from comment #2) > Hey Margaret, > Can I work on this bug?
Hey, I apologise for the two random comments. Since my phone was hanged it happened. I will try it won't happen again.
Priority: -- → P2
Hey Margaret, Can you share some screen-shot where the problem lies. Thanks!
(In reply to Vaibhav Bhosale from comment #6) > Hey Margaret, > Can you share some screen-shot where the problem lies. > Thanks! Hi Vaibhav, thank you for requesting to work on this bug. Unfortunately I have already begun working with someone else who will take this bug. There are other bugs available that you can find at http://www.joshmatthews.net/bugsahoy/. I would recommend that if you find a bug that you want to work on, please do not hesitate to begin working on it and uploading your work to the bug. Many mentors do not assign a bug until a patch is uploaded because some people struggle with getting a build environment set up.
Assignee: nobody → abhinav.koppula
Mentor: jaws
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Attached patch toolbarOverlap.patch (obsolete) — Splinter Review
Added media query to take care of the left padding.
Attachment #8577132 - Flags: review?(jaws)
Comment on attachment 8577132 [details] [diff] [review] toolbarOverlap.patch Review of attachment 8577132 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/themes/windows/global/aboutReader.css @@ +10,5 @@ > } > > +@media screen and (max-width: 742px) { > + body { > + padding: 64px 0 64px 51px; This is close but it will break for right-to-left (RTL) languages. Please use the following: padding-top: 64px; -moz-padding-end: 0; padding-bottom: 64px; -moz-padding-start: 51px;
Attachment #8577132 - Flags: review?(jaws) → feedback+
Attached patch toolbarOverlap.patch (obsolete) — Splinter Review
Added moz-padding to make it generic for RTL languages
Attachment #8577132 - Attachment is obsolete: true
Attachment #8577897 - Flags: review?(jaws)
Comment on attachment 8577897 [details] [diff] [review] toolbarOverlap.patch Review of attachment 8577897 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/themes/windows/global/aboutReader.css @@ +8,5 @@ > margin-left: auto; > margin-right: auto; > } > > +@media screen and (max-width: 742px) { We shouldn't specify the `screen` media type here. With this patch on Windows 8.1, I was able to resize the window to a point where the toolbar still overlapped the content by a few pixels. Let's bump this up to 785px. With those changes, this should just be: @media (max-width: 785px) { ... }
Attachment #8577897 - Flags: review?(jaws) → feedback+
QA Contact: andrei.vaida
Hi Abhinav, any update here?
Flags: needinfo?(abhinav.koppula)
Flags: needinfo?(jaws)
Attached patch PatchSplinter Review
Attachment #8577897 - Attachment is obsolete: true
Flags: needinfo?(jaws)
Flags: needinfo?(abhinav.koppula)
Attachment #8586381 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Verified fixed on Nightly 40.0a1 (2015-04-02), using Ubuntu 14.04 (x64), Windows 7 (x64) and Mac OS X 10.9.5.
Status: RESOLVED → VERIFIED
Comment on attachment 8586381 [details] [diff] [review] Patch Approval Request Comment [Feature/regressing bug #]: reader view [User impact if declined]: reader view toolbar overlaps content if window is narrow [Describe test coverage new/current, TreeHerder]: landed on nightly [Risks and why]: low-risk small CSS change [String/UUID change made/needed]: none
Attachment #8586381 - Flags: approval-mozilla-beta?
Attachment #8586381 - Flags: approval-mozilla-aurora?
Attachment #8586381 - Flags: approval-mozilla-beta?
Attachment #8586381 - Flags: approval-mozilla-beta+
Attachment #8586381 - Flags: approval-mozilla-aurora?
Attachment #8586381 - Flags: approval-mozilla-aurora+
Verified fixed on Beta 38.0b2-build1 (20150406174117) as well, using Windows 7 (x64), Ubuntu 14.04 (x64) and Mac OS X 10.9.5.
I don't think this needs additional verification on Firefox 39, since it was already verified on 38 and 40.
Flags: qe-verify+
See Also: → 1292536
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: