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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
diff --git a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
index 7220488e44cb90a64f2da3205e6d7fa9448906cf..67d72119b8ce05b9dea697a1cb8d1d2c0b368148 100644
--- a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
+++ b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
@@ -44,26 +44,26 @@
</div>
<div class="settings-box continuation block">
<h2>$i18n{customDictionaryWords}</h2>
- <div class="list-frame">
- <template is="dom-if" if="[[hasWords_(words_.length)]]">
- <iron-list id="list" items="{{words_}}"
- scroll-target="[[subpageScrollTarget]]">
- <template>
- <div class="list-item">
- <div class="word text-elide">[[item]]</div>
- <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_"
- tabindex$="[[tabIndex]]">
- </paper-icon-button>
- </div>
- </template>
- </iron-list>
- </template>
- <template is="dom-if" if="[[!hasWords_(words_.length)]]">
- <div id="noWordsLabel" class="list-item">
- $i18n{noCustomDictionaryWordsFound}
- </div>
- </template>
- </div>
+ </div>
dschuyler 2017/04/11 01:11:18 Moving this </div> is the change. The list-frame w
+ <div class="list-frame">
+ <template is="dom-if" if="[[hasWords_(words_.length)]]">
+ <iron-list id="list" items="{{words_}}"
+ scroll-target="[[subpageScrollTarget]]">
+ <template>
+ <div class="list-item">
+ <div class="word text-elide">[[item]]</div>
+ <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_"
+ tabindex$="[[tabIndex]]">
+ </paper-icon-button>
+ </div>
+ </template>
+ </iron-list>
+ </template>
+ <template is="dom-if" if="[[!hasWords_(words_.length)]]">
+ <div id="noWordsLabel" class="list-item">
+ $i18n{noCustomDictionaryWordsFound}
+ </div>
+ </template>
</div>
</template>
<script src="edit_dictionary_page.js"></script>

Powered by Google App Engine
This is Rietveld 408576698