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

Unified Diff: chrome/browser/resources/md_history/synced_device_card.html

Issue 2251323002: MD History: Synced Tabs fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history_css_shuffle
Patch Set: Review comment, revulcanize Created 4 years, 4 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/md_history/synced_device_card.html
diff --git a/chrome/browser/resources/md_history/synced_device_card.html b/chrome/browser/resources/md_history/synced_device_card.html
index b227d7b6d485b1ba239c571eaa410b4bfc0f8242..d2b4dd058f1dce189e1b79078ea3e10e31316f40 100644
--- a/chrome/browser/resources/md_history/synced_device_card.html
+++ b/chrome/browser/resources/md_history/synced_device_card.html
@@ -24,10 +24,6 @@
cursor: pointer;
}
- #icon {
- -webkit-margin-start: 20px;
- }
-
#tab-item-list {
padding: 8px 0;
}
@@ -57,6 +53,7 @@
#item-container {
@apply(--layout-center);
@apply(--layout-horizontal);
+ margin: 0 20px;
min-height: var(--item-height);
}
@@ -68,7 +65,7 @@
}
</style>
<div id="history-item-container">
- <div class="card-title" id="card-heading" aria-expanded$="[[cardOpen_]]"
+ <div class="card-title" id="card-heading" aria-expanded$="[[opened]]"
aria-controls="collapse" on-tap="toggleTabCard">
<div>
[[device]]
@@ -81,14 +78,15 @@
<iron-icon icon="cr:more-vert"></iron-icon>
</button>
<button is="paper-icon-button-light" class="icon-button"
- title$="[[getCollapseTitle_(cardOpen_)]]">
- <iron-icon icon="cr:expand-less" id="dropdown-indicator">
+ title$="[[getCollapseTitle_(opened)]]">
+ <iron-icon icon="[[getCollapseIcon_(opened)]]"
+ id="dropdown-indicator">
</iron-icon>
</button>
</div>
</div>
- <iron-collapse opened="{{cardOpen_}}" id="collapse">
+ <iron-collapse opened="{{opened}}" id="collapse">
<div id="tab-item-list">
<template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list">
<div id="item-container">
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | chrome/browser/resources/md_history/synced_device_card.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698