| 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 a248625552d215c8a7c4d492b4bc3e357616ea46..7220488e44cb90a64f2da3205e6d7fa9448906cf 100644
|
| --- a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
|
| +++ b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html
|
| @@ -5,6 +5,7 @@
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
|
| +<link rel="import" href="../global_scroll_target_behavior.html">
|
| <link rel="import" href="../prefs/prefs.html">
|
| <link rel="import" href="../prefs/prefs_behavior.html">
|
| <link rel="import" href="../settings_shared_css.html">
|
| @@ -21,11 +22,6 @@
|
| width: var(--paper-input-max-width);
|
| }
|
|
|
| - iron-list {
|
| - /* TODO(michaelpg): Size to fit the viewport. */
|
| - height: 300px;
|
| - }
|
| -
|
| iron-list .word {
|
| flex: 1;
|
| }
|
| @@ -50,7 +46,8 @@
|
| <h2>$i18n{customDictionaryWords}</h2>
|
| <div class="list-frame">
|
| <template is="dom-if" if="[[hasWords_(words_.length)]]">
|
| - <iron-list id="list" items="{{words_}}">
|
| + <iron-list id="list" items="{{words_}}"
|
| + scroll-target="[[subpageScrollTarget]]">
|
| <template>
|
| <div class="list-item">
|
| <div class="word text-elide">[[item]]</div>
|
|
|