Closed Bug 1361746 Opened 8 years ago Closed 8 years ago

[Windows] "Legacy" badge not aligned with the add-on name in details tab

Categories

(Toolkit :: Add-ons Manager, defect, P5)

55 Branch
x86_64
Windows 10
defect

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- verified

People

(Reporter: vtamas, Assigned: mstriemer)

Details

(Whiteboard: triaged)

Attachments

(3 files)

Attached image 2017-05-03_1817.png
[Note] This is a follow-up bug for Bug 1354682 [Affected versions]: Firefox 55.0a1 (2017-05-03) [Affected platforms]: Windows 10 64-bit [Steps to reproduce]: 1.Launch Firefox with a clean profile. 2.Install a legacy add-on. 3.Navigate to Add-ons Manager -> Extensions. 4.Open the legacy add-on details tab by clicking on “More” link. [Expected Results]: “Legacy” badge is properly displayed in add-on details tab. [Actual Results]: “Legacy” badge is not aligned with the add-on name in details tab. See attached screenshot.
No longer blocks: 1359276
Hi Mark, If this is going to take 15 minutes or less... then please fix. Not worth any more of your time... just makes it look bad though.
Assignee: nobody → mstriemer
Priority: -- → P5
Whiteboard: triaged
Comment on attachment 8869493 [details] Bug 1361746 - Align legacy badge on Windows in about:addons details https://reviewboard.mozilla.org/r/141104/#review144636 The math seems to work out that `0.78rem` is the correct value, but the baseline of the Windows font seems to be different which is causing it to appear higher. I tried wrapping the badge in a vbox and vertically centring it but that places it in the same spot as with the original `margin-top: 0.78rem`.
Attached image updated.png
Comment on attachment 8869493 [details] Bug 1361746 - Align legacy badge on Windows in about:addons details This is just a small Windows only CSS change to deal the text not being vertically centred in its container causing the badge to look misaligned when it is centred. As mentioned above the math checked out for the old value but it didn't look right so this adds some extra offset as a magic number unfortunately.
Attachment #8869493 - Flags: review?(aswan) → review?(rhelmer)
Comment on attachment 8869493 [details] Bug 1361746 - Align legacy badge on Windows in about:addons details https://reviewboard.mozilla.org/r/141104/#review146122 ugh, CSS.
Attachment #8869493 - Flags: review?(rhelmer) → review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3b67475611dd Align legacy badge on Windows in about:addons details r=rhelmer
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
QA Whiteboard: [good first verify]
I have reproduced this Bug with Nightly 55.0a1 (2017-05-03) on Windows 10, 64 Bit! The bug's fix is now verified on latest Beta 55.0b8 Build ID 20170710085521 User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
QA Whiteboard: [good first verify] → [good first verify] [bugday-20170712]
Thanks Tanvir for verifying this bug! Based on Comment 11 I am marking this issue as Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: