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

Side by Side Diff: chrome/browser/resources/settings/people_page/user_list.html

Issue 2815783002: [MD settings] vertical align left edge of icons and text in ChromeOS People (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/users_page.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="../route.html"> 6 <link rel="import" href="../route.html">
7 <link rel="import" href="../settings_shared_css.html"> 7 <link rel="import" href="../settings_shared_css.html">
8 8
9 <dom-module id="settings-user-list"> 9 <dom-module id="settings-user-list">
10 <template> 10 <template>
(...skipping 12 matching lines...) Expand all
23 background-position: center; 23 background-position: center;
24 background-repeat: no-repeat; 24 background-repeat: no-repeat;
25 background-size: cover; 25 background-size: cover;
26 border-radius: 20px; 26 border-radius: 20px;
27 flex-shrink: 0; 27 flex-shrink: 0;
28 height: 40px; 28 height: 40px;
29 width: 40px; 29 width: 40px;
30 } 30 }
31 31
32 .user-info { 32 .user-info {
33 -webkit-padding-start: 16px; 33 -webkit-padding-start: 20px;
34 } 34 }
35 </style> 35 </style>
36 <div class="user-list"> 36 <div class="user-list">
37 <template is="dom-repeat" items="[[users_]]"> 37 <template is="dom-repeat" items="[[users_]]">
38 <div class="user layout horizontal center two-line"> 38 <div class="user layout horizontal center two-line">
39 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]"> 39 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]">
40 <div class="flex user-info"> 40 <div class="flex user-info">
41 <div>[[getUserName_(item)]]</div> 41 <div>[[getUserName_(item)]]</div>
42 <div class="secondary">[[item.email]]</div> 42 <div class="secondary">[[item.email]]</div>
43 </div> 43 </div>
44 <paper-icon-button icon="cr:clear" class="clear-icon" 44 <paper-icon-button icon="cr:clear" class="clear-icon"
45 on-tap="removeUser_" 45 on-tap="removeUser_"
46 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> 46 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]">
47 </paper-icon-button> 47 </paper-icon-button>
48 </div> 48 </div>
49 </template> 49 </template>
50 </div> 50 </div>
51 </template> 51 </template>
52 <script src="user_list.js"></script> 52 <script src="user_list.js"></script>
53 </dom-module> 53 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/users_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698