Bug 1589324 - Restore max-width on .container. r=jaws
authorTim Nguyen <ntim.bugs@gmail.com>
Fri, 18 Oct 2019 16:28:15 +0000
changeset 559588 bac89dc0731ac6ef5d4643b57cda37817fde4833
parent 559587 d3482abe1fc9117fa433abcf693558ad4ee2bb40
child 559589 41a1dfdfea9f1ead14119aeaa0513678bddded50
push id12177
push usercsabou@mozilla.com
push dateMon, 21 Oct 2019 14:52:16 +0000
treeherdermozilla-beta@1918a9cd33bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1589324
milestone71.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 1589324 - Restore max-width on .container. r=jaws Differential Revision: https://phabricator.services.mozilla.com/D49654
browser/components/aboutlogins/content/components/login-item.css
--- a/browser/components/aboutlogins/content/components/login-item.css
+++ b/browser/components/aboutlogins/content/components/login-item.css
@@ -1,15 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 :host {
   overflow: auto;
-  display: flex;
+  padding: 40px;
 
   --reveal-checkbox-opacity: .8;
   --reveal-checkbox-opacity-hover: .6;
   --reveal-checkbox-opacity-active: 1;
   --success-color: #00c100;
   --edit-delete-button-color: #4a4a4f;
 }
 
@@ -21,18 +21,19 @@
 }
 @supports not (-moz-bool-pref("browser.in-content.dark-mode")) {
   :host {
     --in-content-deemphasized-text: #737373;
   }
 }
 
 .container {
-  flex-basis: 700px;
-  padding: 40px;
+  box-sizing: border-box;
+  height: 100%;
+  max-width: 700px;
   display: flex;
   flex-direction: column;
 }
 
 button {
   min-width: 100px;
 }