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

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

Issue 2073703002: MD History: Simplify flex layout in <history-list> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 6 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_manager.html
diff --git a/chrome/browser/resources/md_history/synced_device_manager.html b/chrome/browser/resources/md_history/synced_device_manager.html
index 93f25907eada17818b47ac923aeeda696d848b80..7b1206eab8e11bbc6d90e3023a82bda0a7a181d6 100644
--- a/chrome/browser/resources/md_history/synced_device_manager.html
+++ b/chrome/browser/resources/md_history/synced_device_manager.html
@@ -11,18 +11,24 @@
<template>
<style>
:host {
+ display: block;
overflow: auto;
+ }
+
+ #container {
padding-top: var(--first-card-padding-top);
}
</style>
- <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice">
- <history-synced-device-card device="[[syncedDevice.device]]"
- last-update-time="[[syncedDevice.lastUpdateTime]]"
- tabs="[[syncedDevice.tabs]]"
- separator-indexes="[[syncedDevice.separatorIndexes]]"
- searched-term="[[searchedTerm]]">
- </history-synced-device-card>
- </template>
+ <div id="container">
+ <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice">
+ <history-synced-device-card device="[[syncedDevice.device]]"
+ last-update-time="[[syncedDevice.lastUpdateTime]]"
+ tabs="[[syncedDevice.tabs]]"
+ separator-indexes="[[syncedDevice.separatorIndexes]]"
+ searched-term="[[searchedTerm]]">
+ </history-synced-device-card>
+ </template>
+ </div>
</template>
<script src="chrome://history/synced_device_manager.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698