Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css

Issue 1736163002: Make the lists in the password section flex up to 245px. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pt -> px Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css
index 05405bea06e27624831f2f40146d9c2c1c9a513c..c11ea76d1c06be401e1603114e1bef807d9bd9c4 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css
@@ -2,11 +2,18 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
+:host {
+ display: flex;
+ flex-direction: column;
+}
+
iron-list {
- /* TODO(hcarmona): Make this flex. */
- -webkit-padding-start: 8px;
- height: 300px;
- padding-top: 16px;
+ -webkit-padding-start: 16px;
+ flex: 1;
+ max-height: 245px;
+ overflow: auto;
+ padding-bottom: 8px;
+ padding-top: 8px;
}
paper-icon-button {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698