Chromium Code Reviews| Index: chrome/browser/resources/settings/internet_page/network_summary_item.html |
| diff --git a/chrome/browser/resources/settings/internet_page/network_summary_item.html b/chrome/browser/resources/settings/internet_page/network_summary_item.html |
| index 40c730e7b1ea410e90925824e0294729fee2380d..fdda56b82ae50ce5012985e4aaafa384ad9f9f9e 100644 |
| --- a/chrome/browser/resources/settings/internet_page/network_summary_item.html |
| +++ b/chrome/browser/resources/settings/internet_page/network_summary_item.html |
| @@ -1,6 +1,9 @@ |
| <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expand_button.html"> |
| <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list.html"> |
| <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list_item.html"> |
| +<link rel="import" href="chrome://resources/html/action_link.html"> |
| +<!-- "action_link_css.html" replaces "action_link.css" for MD pages. --> |
|
Dan Beam
2017/01/25 23:47:47
don't repeat this everywhere, just put it in the t
|
| +<link rel="import" href="chrome://resources/html/action_link_css.html"> |
| <link rel="import" href="chrome://resources/html/polymer.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-collapse.html"> |
| @@ -13,7 +16,7 @@ |
| <dom-module name="network-summary-item"> |
| <template> |
| - <style include="settings-shared"> |
| + <style include="settings-shared action-link"> |
| paper-spinner { |
| @apply(--cr-icon-height-width); |
| margin: 0 var(--settings-box-row-padding); |
| @@ -23,12 +26,6 @@ |
| padding: 0 var(--settings-box-row-padding); |
| } |
| - .button-row { |
| - align-items: center; |
| - display: flex; |
| - min-height: var(--settings-row-min-height); |
| - } |
| - |
| .padded { |
| @apply(--settings-list-frame-padding); |
| } |
| @@ -109,8 +106,11 @@ |
| </cr-network-list> |
| <template is="dom-if" |
| if="[[knownNetworksIsVisible_(activeNetworkState)]]"> |
| - <div class="button-row" actionable on-tap="onKnownNetworksTap_"> |
| - <a is="action-link">$i18n{knownNetworksButton}</a> |
| + <div class="list-item"> |
| + <a is="action-link" class="list-button" |
| + on-tap="onKnownNetworksTap_"> |
| + $i18n{knownNetworksButton} |
| + </a> |
| </div> |
| </template> |
| </div> |