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

Side by Side Diff: chrome/browser/resources/settings/languages_page/edit_dictionary_page.html

Issue 2813803002: [MD settings] vertical align left edge of icons and text (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
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/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 6 <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-input/paper-input .html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
8 <link rel="import" href="../global_scroll_target_behavior.html"> 8 <link rel="import" href="../global_scroll_target_behavior.html">
9 <link rel="import" href="../prefs/prefs.html"> 9 <link rel="import" href="../prefs/prefs.html">
10 <link rel="import" href="../prefs/prefs_behavior.html"> 10 <link rel="import" href="../prefs/prefs_behavior.html">
(...skipping 26 matching lines...) Expand all
37 <paper-input id="newWord" no-label-float value="{{newWordValue_}}" 37 <paper-input id="newWord" no-label-float value="{{newWordValue_}}"
38 label="$i18n{addDictionaryWordLabel}"></paper-input> 38 label="$i18n{addDictionaryWordLabel}"></paper-input>
39 </div> 39 </div>
40 <paper-button class="secondary-button" on-tap="onAddWordTap_" 40 <paper-button class="secondary-button" on-tap="onAddWordTap_"
41 disabled="[[!validateWord_(newWordValue_)]]" id="addWord"> 41 disabled="[[!validateWord_(newWordValue_)]]" id="addWord">
42 $i18n{addDictionaryWordButton} 42 $i18n{addDictionaryWordButton}
43 </paper-button> 43 </paper-button>
44 </div> 44 </div>
45 <div class="settings-box continuation block"> 45 <div class="settings-box continuation block">
46 <h2>$i18n{customDictionaryWords}</h2> 46 <h2>$i18n{customDictionaryWords}</h2>
47 <div class="list-frame"> 47 </div>
dschuyler 2017/04/11 01:11:18 Moving this </div> is the change. The list-frame w
48 <template is="dom-if" if="[[hasWords_(words_.length)]]"> 48 <div class="list-frame">
49 <iron-list id="list" items="{{words_}}" 49 <template is="dom-if" if="[[hasWords_(words_.length)]]">
50 scroll-target="[[subpageScrollTarget]]"> 50 <iron-list id="list" items="{{words_}}"
51 <template> 51 scroll-target="[[subpageScrollTarget]]">
52 <div class="list-item"> 52 <template>
53 <div class="word text-elide">[[item]]</div> 53 <div class="list-item">
54 <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_" 54 <div class="word text-elide">[[item]]</div>
55 tabindex$="[[tabIndex]]"> 55 <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_"
56 </paper-icon-button> 56 tabindex$="[[tabIndex]]">
57 </div> 57 </paper-icon-button>
58 </template> 58 </div>
59 </iron-list> 59 </template>
60 </template> 60 </iron-list>
61 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> 61 </template>
62 <div id="noWordsLabel" class="list-item"> 62 <template is="dom-if" if="[[!hasWords_(words_.length)]]">
63 $i18n{noCustomDictionaryWordsFound} 63 <div id="noWordsLabel" class="list-item">
64 </div> 64 $i18n{noCustomDictionaryWordsFound}
65 </template> 65 </div>
66 </div> 66 </template>
67 </div> 67 </div>
68 </template> 68 </template>
69 <script src="edit_dictionary_page.js"></script> 69 <script src="edit_dictionary_page.js"></script>
70 </dom-module> 70 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698