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

Unified Diff: chrome/browser/resources/settings/languages_page/languages_page.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: move comment about action_link_css to action_likn_css.html Created 3 years, 11 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/languages_page.html
diff --git a/chrome/browser/resources/settings/languages_page/languages_page.html b/chrome/browser/resources/settings/languages_page/languages_page.html
index 8684f16e36ab0d46496b94cb1ca7abd26e071734..00635ba61142d3fb1cfe3e56e57a7c6d71919815 100644
--- a/chrome/browser/resources/settings/languages_page/languages_page.html
+++ b/chrome/browser/resources/settings/languages_page/languages_page.html
@@ -1,4 +1,5 @@
<link rel="import" href="chrome://resources/html/action_link.html">
+<link rel="import" href="chrome://resources/html/action_link_css.html">
<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/html/polymer.html">
@@ -29,7 +30,7 @@
<dom-module id="settings-languages-page">
<template>
- <style include="settings-shared">
+ <style include="settings-shared action-link">
#languagesCollapse .list-item.selected {
min-height: var(--settings-row-two-line-min-height);
}
@@ -125,8 +126,11 @@
</paper-icon-button>
</div>
</template>
- <div class="list-item list-button" on-tap="onAddLanguagesTap_">
- <a is="action-link">$i18n{addLanguages}</a>
+ <div class="list-item">
+ <a is="action-link" class="list-button"
+ on-tap="onAddLanguagesTap_">
+ $i18n{addLanguages}
+ </a>
</div>
</div>
</iron-collapse>
@@ -167,9 +171,11 @@
</paper-icon-button>
</div>
</template>
- <div class="list-item list-button"
- on-tap="onManageInputMethodsTap_">
- <a is="action-link">$i18n{manageInputMethods}</a>
+ <div class="list-item">
+ <a is="action-link" class="list-button"
+ on-tap="onManageInputMethodsTap_">
+ $i18n{manageInputMethods}
+ </a>
</div>
</div>
</iron-collapse>
@@ -199,8 +205,11 @@
</paper-checkbox>
</label>
</template>
- <div class="list-item list-button" on-tap="onEditDictionaryTap_">
- <a is="action-link">$i18n{manageSpellCheck}</a>
+ <div class="list-item">
+ <a is="action-link" class="list-button"
+ on-tap="onEditDictionaryTap_">
+ $i18n{manageSpellCheck}
+ </a>
</div>
</div>
</iron-collapse>

Powered by Google App Engine
This is Rietveld 408576698