Bug 1624497 - Fix visually stretched chat buddy indicator in message header area. r=paenglab DONTBUILD
authorAlessandro Castellani <alessandro@thunderbird.net>
Wed, 25 Mar 2020 12:46:49 +0200
changeset 38570 8ca637b203363896d542f8921f82a0afb8139d8e
parent 38569 4a0bd51ee9c0627be85fbe59821f442121c0c30f
child 38571 8580c41d5e5a5243ada9a02d4e42748d7fdc295f
push id400
push userclokep@gmail.com
push dateMon, 04 May 2020 18:56:09 +0000
reviewerspaenglab
bugs1624497
Bug 1624497 - Fix visually stretched chat buddy indicator in message header area. r=paenglab DONTBUILD
mail/base/content/mailWidgets.js
--- a/mail/base/content/mailWidgets.js
+++ b/mail/base/content/mailWidgets.js
@@ -381,16 +381,17 @@
 
     connectedCallback() {
       if (this.hasChildNodes() || this.delayConnectedCallback()) {
         return;
       }
       this.classList.add("emailDisplayButton");
       this.setAttribute("context", "emailAddressPopup");
       this.setAttribute("popup", "emailAddressPopup");
+      this.setAttribute("align", "center");
 
       const label = document.createXULElement("label");
       label.classList.add("emaillabel");
 
       const emailStarImage = document.createXULElement("image");
       emailStarImage.classList.add("emailStar");
       emailStarImage.setAttribute("context", "emailAddressPopup");