width and hight to small for WX toolbar icons in messenger.css
Categories
(Thunderbird :: Add-Ons: General, defect)
Tracking
(thunderbird_esr68 fixed, thunderbird71 affected, thunderbird72 fixed)
People
(Reporter: Thunderbird_Mail_DE, Assigned: Paenglab)
Details
Attachments
(1 file)
|
1019 bytes,
patch
|
darktrojan
:
review+
mkmelin
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
In messenger.css is the size for toolbar buttons:
.toolbarbutton-1 .toolbarbutton-icon {
width: 18px;
height: 18px;
}
But the size for WX browserActions is:
/* Rules to help integrate WebExtension buttons */
.webextension-action > .toolbarbutton-badge-stack > .toolbarbutton-icon {
height: 16px;
width: 16px;
}
The resulting WX icons size is 16 (16 px - 2x1 px padding = 14 px) instead of 18 px (18 px - 2x1 px padding = 16 px).
| Reporter | ||
Comment 1•6 years ago
|
||
Not sure about the right component. Maybe paenglab is the right person?
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2b3dd54098bf
Set the webextension icon to the same dimensions as the built-in icons. r=darktrojan
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
| Reporter | ||
Comment 4•6 years ago
•
|
||
The "funny" thing is: 2 days later my unchanged webextension button seems to use now the first CSS rule
.toolbarbutton-1 .toolbarbutton-icon {
width: 18px;
height: 18px;
}
instead of the prior used CSS rule:
.webextension-action > .toolbarbutton-badge-stack > .toolbarbutton-icon {
height: 16px;
width: 16px;
}
And the button size seems to be fixed without your patch (in my test profiles for Tb Daily and Tb Beta), which is in yesterdays comm-central build. In my test profile for Tb 68.2.2 the button icon is still to small and not fixed in a "magical" way.
Nevertheless, the patch seems to be correct and necessary to be checked-in for comm-beta and comm-esr.
Comment 5•6 years ago
|
||
You are probably experiencing bug 1599275.
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Description
•