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

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

Issue 2959543002: Settings: Users: Fix margins for restrict signins list (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 2
3 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> 3 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
4 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 4 <link rel="import" href="chrome://resources/cr_elements/icons.html">
5 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 5 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
8 <link rel="import" href="../route.html"> 8 <link rel="import" href="../route.html">
9 <link rel="import" href="../settings_shared_css.html"> 9 <link rel="import" href="../settings_shared_css.html">
10 10
(...skipping 16 matching lines...) Expand all
27 background-size: cover; 27 background-size: cover;
28 border-radius: 20px; 28 border-radius: 20px;
29 flex-shrink: 0; 29 flex-shrink: 0;
30 height: 40px; 30 height: 40px;
31 width: 40px; 31 width: 40px;
32 } 32 }
33 33
34 .user-info { 34 .user-info {
35 -webkit-padding-start: 20px; 35 -webkit-padding-start: 20px;
36 } 36 }
37
38 paper-icon-button {
39 -webkit-margin-end: 0;
40 -webkit-margin-start: var(--cr-icon-button-margin-start);
dpapad 2017/06/23 23:31:28 --cr-icon-button-margin-start is defined in shared
stevenjb 2017/06/23 23:37:46 We do not currently have any examples of a direct
dpapad 2017/06/23 23:49:27 Ok, I had not realized that was the case. Agreed l
41 }
37 </style> 42 </style>
38 <div class="user-list" scrollable> 43 <div class="user-list" scrollable>
39 <template is="dom-repeat" items="[[users_]]"> 44 <template is="dom-repeat" items="[[users_]]">
40 <div class="user layout horizontal center two-line"> 45 <div class="user layout horizontal center two-line">
41 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]"> 46 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]">
42 <div class="flex user-info"> 47 <div class="flex user-info">
43 <div>[[getUserName_(item)]]</div> 48 <div>[[getUserName_(item)]]</div>
44 <template is="dom-if" if="[[shouldShowEmail_(item)]]"> 49 <template is="dom-if" if="[[shouldShowEmail_(item)]]">
45 <div class="secondary">[[item.displayEmail]]</div> 50 <div class="secondary">[[item.displayEmail]]</div>
46 </template> 51 </template>
47 </div> 52 </div>
48 <paper-icon-button icon="cr:clear" class="clear-icon" 53 <paper-icon-button icon="cr:clear" class="clear-icon"
49 on-tap="removeUser_" 54 on-tap="removeUser_"
50 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> 55 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]">
51 </paper-icon-button> 56 </paper-icon-button>
52 </div> 57 </div>
53 </template> 58 </template>
54 </div> 59 </div>
55 </template> 60 </template>
56 <script src="user_list.js"></script> 61 <script src="user_list.js"></script>
57 </dom-module> 62 </dom-module>
OLDNEW
« 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