More from Mozilla - Firefox Mobile icon is too high relative to the text
Categories
(Firefox :: Messaging System, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | verified |
People
(Reporter: aminomancer, Assigned: aminomancer)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Just a minor defect... the Firefox Mobile promo is using an icon from devtools that doesn't have a square viewbox. So when drawn as a background image it effectively has "padding" which makes the icon smaller than the other icons on about:preferences (which all have artboxes clamped to the art dimensions).
A CSS workaround was added - 5px of padding on the top of the "Firefox Mobile" row. Since the icon is drawn to the row's background, extra padding means extra space to compose the icon. This keeps the icon from being smaller than the others, but it means the icon is positioned 2.5px too high. It's centered to the box, not the text em height. And since the box has 5px of padding above the em height, the icon ends up filling that space.
This should be an easy fix as this is actually not the right icon anyway. The icon used in the frontend (e.g. on Firefox View) is device-phone.svg. This icon is scaled to the viewbox so it's perfect.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
bugherder |
Comment 4•2 years ago
|
||
I‘ve verified this issue using the latest Firefox Nightly 110.0a1 (Build ID: 20230104163752) on Windows 10 x64, macOS 11.7.1, and Ubuntu 22.04 x64.
- The Firefox Mobile icon is noticeably bigger and wider than before the fix. And its background-image is set to ‘url("chrome://browser/skin/device-phone.svg")’, and the padding-top has been removed.
Description
•