Chromium Code Reviews| Index: chrome/browser/resources/settings/passwords_and_forms_page/password_list_item.html |
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/password_list_item.html b/chrome/browser/resources/settings/passwords_and_forms_page/password_list_item.html |
| index 63248d2eca4f6b2f0eba7a8b6ea05bdca0cf0c5c..9bc9a3e97ee37c45edcddc709b6a7b6609777442 100644 |
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/password_list_item.html |
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/password_list_item.html |
| @@ -8,14 +8,6 @@ |
| <dom-module id="password-list-item"> |
| <template> |
| <style include="settings-shared passwords-shared"> |
| - #password { |
| - background-color: transparent; |
| - border: none; |
| - flex: 1; |
| - height: 20px; |
| - width: 0; |
| - } |
| - |
| #originUrl { |
| /* The following non-flex directives allow eliding long originUrls from |
| * the left. Forcing rtl should not cause an issue for right-to-left |
| @@ -38,20 +30,19 @@ |
| </a> |
| </div> |
| <div class="username-column selectable text-elide" |
| - id="username">[[item.loginPair.username]]</div> |
| - <div class="password-column text-elide"> |
| - <template is="dom-if" if="[[!item.federationText]]"> |
| - <!-- Password type and disabled in order to match mock. --> |
| - <input id="password" type="password" disabled |
| - value="[[getEmptyPassword_(item.numCharactersInPassword)]]"> |
| - </input> |
| - </template> |
| - <template is="dom-if" if="[[item.federationText]]"> |
| - <span class="selectable text-elide"> |
| - [[item.federationText]] |
| - </span> |
| - </template> |
| - </div> |
| + id="username">[[item.loginPair.username]]</div> |
|
hcarmona
2017/05/19 17:46:32
Nit: Indenting is off, should be indented 4x
vasilii
2017/05/22 08:47:51
Done.
|
| + <div class="password-column"> |
| + <template is="dom-if" if="[[!item.federationText]]"> |
| + <!-- Password type and disabled in order to match mock. --> |
| + <input id="password" type="password" class="password-field text-elide" |
| + disabled value="[[getEmptyPassword_(item.numCharactersInPassword)]]"> |
|
hcarmona
2017/05/19 17:46:32
Nit: indent is off, needs to be indented 4x
vasilii
2017/05/22 08:47:52
Done.
|
| + </input> |
| + </template> |
| + <template is="dom-if" if="[[item.federationText]]"> |
| + <span class="password-field selectable text-elide"> |
| + [[item.federationText]] |
| + </span> |
| + </template> |
| <paper-icon-button id="passwordMenu" icon="cr:more-vert" |
| on-tap="onPasswordMenuTap_" title="$i18n{moreActions}" |
| focus-row-control focus-type="passwordMenu"> |