Bug 1167716 - Make max-width for popup notifications work again. r=dtownsend

This commit is contained in:
Dão Gottwald 2015-05-24 00:12:49 +02:00
parent 2f522a4405
commit c5f67175fd
7 changed files with 19 additions and 19 deletions

View File

@ -1136,10 +1136,10 @@ toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-ba
%include ../shared/notification-icons.inc.css
.popup-notification-description[popupid="addon-progress"],
.popup-notification-description[popupid="addon-install-confirmation"] {
width: 27em;
max-width: 27em;
.popup-notification-body[popupid="addon-progress"],
.popup-notification-body[popupid="addon-install-confirmation"] {
width: 28em;
max-width: 28em;
}
.addon-install-confirmation-name {

View File

@ -3687,10 +3687,10 @@ notification[value="loop-sharing-notification"] .messageImage {
}
}
.popup-notification-description[popupid="addon-progress"],
.popup-notification-description[popupid="addon-install-confirmation"] {
width: 27em;
max-width: 27em;
.popup-notification-body[popupid="addon-progress"],
.popup-notification-body[popupid="addon-install-confirmation"] {
width: 28em;
max-width: 28em;
}
#addon-progress-notification-progresstext,

View File

@ -2153,10 +2153,10 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
%include ../shared/notification-icons.inc.css
.popup-notification-description[popupid="addon-progress"],
.popup-notification-description[popupid="addon-install-confirmation"] {
width: 27em;
max-width: 27em;
.popup-notification-body[popupid="addon-progress"],
.popup-notification-body[popupid="addon-install-confirmation"] {
width: 28em;
max-width: 28em;
}
.addon-install-confirmation-name {

View File

@ -475,7 +475,7 @@
<xul:image class="popup-notification-icon"
xbl:inherits="popupid,src=icon"/>
</xul:vbox>
<xul:vbox>
<xul:vbox class="popup-notification-body" xbl:inherits="popupid">
<xul:hbox align="start">
<xul:vbox flex="1">
<xul:label class="popup-notification-origin header"

View File

@ -63,8 +63,8 @@ notification[type="critical"] {
/* Popup notification */
.popup-notification-description {
max-width: 24em;
.popup-notification-body {
max-width: 25em;
}
.popup-notification-origin:not([value]),

View File

@ -101,8 +101,8 @@ notification[type="info"]:not([value="translation"]) .close-icon:not(:hover) {
/* Popup notification */
.popup-notification-description {
max-width: 24em;
.popup-notification-body {
max-width: 25em;
}
.popup-notification-origin:not([value]),

View File

@ -58,8 +58,8 @@ notification[type="critical"] {
/* Popup notification */
.popup-notification-description {
max-width: 24em;
.popup-notification-body {
max-width: 25em;
}
.popup-notification-origin:not([value]),