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

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

Issue 1652553002: [MD settings] adjusting heights of settings rows; removing two .css files; unifying settings layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master Created 4 years, 11 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
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
index 757eaf94d7b6d2166abe108d1f92338efb563306..0bc12207b21f1aa2057e6293ca7df373dc19328c 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
@@ -7,23 +7,24 @@
<dom-module id="passwords-section">
<link rel="import" type="css" href="chrome://md-settings/site_settings_page/site_settings_page.css">
<link rel="import" type="css" href="chrome://md-settings/passwords_and_forms_page/passwords_section.css">
+ <link rel="import" type="css" href="chrome://md-settings/settings_shared.css">
<template>
- <div class="section">
- <div class="heading" i18n-content="savedPasswordsHeading"></div>
- <iron-list id="passwordList" class="list-section"
+ <div class="list-frame">
+ <div class="secondary" i18n-content="savedPasswordsHeading"></div>
+ <iron-list id="passwordList" class="vertical-list list-section"
items="{{savedPasswords}}">
<template>
- <paper-item class="separator">
- <paper-item-body two-line>
+ <div class="list-item two-line">
+ <div class="start">
<div id="originUrl">[[item.loginPair.originUrl]]</div>
- <div id="username" secondary>[[item.loginPair.username]]</div>
- </paper-item-body>
+ <div id="username" class="secondary">[[item.loginPair.username]]</div>
+ </div>
<!--TODO(hcarmona): Update password so that it is editable.
#password is type password and disabled in order to match UI.-->
<paper-input id="password" type="password" disabled
value="[[getEmptyPassword_(item.numCharactersInPassword)]]">
</paper-input>
- </paper-item>
+ </div>
</template>
</iron-list>
</div>

Powered by Google App Engine
This is Rietveld 408576698