Bug 1422376 - Buttons should be at top and not in the middle of the release notes r=mstriemer,aswan
authorSoeren Hentzschel <cadeyrn@ymail.com>
Mon, 04 Feb 2019 20:45:55 +0000
changeset 457433 c5e880064cfe1411baf51d52ba86b447fb99ba35
parent 457432 92091d537161e4df0986113e26762ed801190dfa
child 457434 c31a81865825a9d2953e92ea559d38dab138b7df
push id35510
push userrgurzau@mozilla.com
push dateWed, 06 Feb 2019 21:55:51 +0000
treeherdermozilla-central@de51545099a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstriemer, aswan
bugs1422376
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1422376 - Buttons should be at top and not in the middle of the release notes r=mstriemer,aswan Differential Revision: https://phabricator.services.mozilla.com/D15326
toolkit/mozapps/extensions/content/extensions.xml
toolkit/themes/shared/extensions/extensions.inc.css
--- a/toolkit/mozapps/extensions/content/extensions.xml
+++ b/toolkit/mozapps/extensions/content/extensions.xml
@@ -564,17 +564,17 @@
                     label="&addon.undoAction.label;"
                     tooltipText="&addon.undoAction.tooltip;"
                     oncommand="document.getBindingParent(this).undo();"/>
         <xul:spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
       </xul:hbox>
 
       <xul:image class="card-heading-image" anonid="theme-screenshot" xbl:inherits="src=previewURL"/>
 
-      <xul:hbox class="content-container" align="center">
+      <xul:hbox class="content-container">
         <xul:vbox class="icon-container">
           <xul:image anonid="icon" class="icon"/>
         </xul:vbox>
         <xul:vbox class="content-inner-container" flex="1">
           <xul:hbox class="basicinfo-container">
               <xul:hbox class="name-container">
                 <xul:label anonid="name" class="name" crop="end" flex="1"
                            tooltip="addonitem-tooltip" xbl:inherits="xbl:text=name"/>
--- a/toolkit/themes/shared/extensions/extensions.inc.css
+++ b/toolkit/themes/shared/extensions/extensions.inc.css
@@ -464,17 +464,21 @@ button.warning {
 .warning,
 .pending,
 .error {
   margin-inline-start: 48px;
   font-weight: bold;
   -moz-box-align: center;
 }
 
-.content-container,
+.content-container {
+  -moz-box-align: center;
+}
+
+#updates-list > .addon > .content-container,
 .basicinfo-container {
   -moz-box-align: start;
 }
 
 .addon[status="installing"] > .content-container {
   -moz-box-align: stretch;
 }