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

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

Issue 2338003004: [MD settings] margin around grid of avatar icons (Closed)
Patch Set: Created 4 years, 3 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/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html"> 1 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
6 <link rel="import" href="/people_page/manage_profile_browser_proxy.html"> 6 <link rel="import" href="/people_page/manage_profile_browser_proxy.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-manage-profile"> 9 <dom-module id="settings-manage-profile">
10 <template> 10 <template>
11 <style include="settings-shared"> 11 <style include="settings-shared">
12 #selector { 12 #selector {
13 -webkit-margin-start: 16px; 13 margin: 16px 24px 16px 20px;
Dan Beam 2016/09/14 01:13:30 does this work in RTL?
dschuyler 2016/09/14 01:24:23 Good point. It's better to have the margins equal.
14 margin-top: 16px;
15 max-width: 624px;
16 } 14 }
17 </style> 15 </style>
18 <div class="settings-box first"> 16 <div class="settings-box first">
19 <paper-input id="name" value="{{profileName}}" pattern=".*\S.*" 17 <paper-input id="name" value="{{profileName}}" pattern=".*\S.*"
20 auto-validate required on-change="onProfileNameChanged_"> 18 auto-validate required on-change="onProfileNameChanged_">
21 </paper-input> 19 </paper-input>
22 </div> 20 </div>
23 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]" 21 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]"
24 selected-avatar-url="{{profileIconUrl}}" 22 selected-avatar-url="{{profileIconUrl}}"
25 on-iron-activate="onIconActivate_"> 23 on-iron-activate="onIconActivate_">
26 </cr-profile-avatar-selector> 24 </cr-profile-avatar-selector>
27 </template> 25 </template>
28 <script src="manage_profile.js"></script> 26 <script src="manage_profile.js"></script>
29 </dom-module> 27 </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