Bug 1506047 - prevent status bar from wrapping to several lines causing jumping window size. r=Paenglab
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Tue, 13 Nov 2018 12:10:25 +0200
changeset 33705 4c662872fa5b25b5ede75c83d6fc18899ca2c1cd
parent 33704 fbd01a6e230fec49fd193f983ed9842747fe9c3c
child 33706 8882026b926ab30a10cfdd416b51cbc1184e9799
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersPaenglab
bugs1506047
Bug 1506047 - prevent status bar from wrapping to several lines causing jumping window size. r=Paenglab
mail/themes/linux/mail/messenger.css
mail/themes/osx/mail/messenger.css
mail/themes/shared/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -747,19 +747,16 @@ menulist[editable="true"] > .menulist-dr
 
 .statusbar:-moz-lwtheme-brighttext {
   --tabs-border-color: hsla(0,0%,60%,.4);
 }
 
 statusbarpanel,
 .statusbarpanel {
   -moz-appearance: none;
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  padding: 0 4px;
 }
 
 .statusbar-resizerpanel {
   -moz-box-align: end;
   -moz-box-pack: end;
   -moz-appearance: resizerpanel;
   padding: 0;
 }
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -696,23 +696,16 @@ button[type="menu-button"] > dropmarker 
   min-height: 15px !important;
   margin: 0 !important;
   /* need to use padding-inline-end when/if bug 631729 gets fixed: */
   padding: 0 16px 1px 1px;
   -moz-appearance: statusbar;
   text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
 }
 
-statusbarpanel,
-.statusbarpanel {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  padding: 0 4px;
-}
-
 .statusbar:-moz-lwtheme {
   -moz-appearance: none;
   background: none;
   border-style: none;
   text-shadow: inherit;
 }
 
 .statusbar:-moz-lwtheme-brighttext {
--- a/mail/themes/shared/mail/messenger.css
+++ b/mail/themes/shared/mail/messenger.css
@@ -187,16 +187,27 @@ toolbar[printpreview="true"] {
 #status-bar:-moz-lwtheme {
   border-top: 1px solid var(--tabs-border-color);
 }
 
 #status-bar:-moz-lwtheme toolbarbutton {
   color: var(--lwt-text-color, inherit);
 }
 
+statusbarpanel,
+.statusbarpanel {
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
+
+  -moz-box-align: center;
+  -moz-box-pack: center;
+  padding: 0 4px;
+}
+
 /* ::::: online/offline icons ::::: */
 
 #offline-status {
   padding: 0 2px;
   list-style-image: url("chrome://messenger/skin/icons/online.png");
   -moz-appearance: none;
 }
 
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -789,20 +789,17 @@ menulist > menupopup:not([type="folder"]
 
 .statusbar:-moz-lwtheme-brighttext {
   --tabs-border-color: hsla(0,0%,60%,.4);
 }
 
 statusbarpanel,
 .statusbarpanel {
   -moz-appearance: none;
-  -moz-box-align: center;
-  -moz-box-pack: center;
   border-inline-end: 1px solid ThreeDLightShadow;
-  padding: 0 4px;
 }
 
 statusbarpanel:-moz-lwtheme,
 .statsubarpanel:-moz-lwtheme {
   border-inline-end-color: var(--tabs-border-color);
 }
 
 .statusbar-resizerpanel {