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

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

Issue 2333163002: MD History: Remove isFirstItem property from history-item (Closed)
Patch Set: Fix sizing Created 4 years, 3 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/history_list.html
diff --git a/chrome/browser/resources/md_history/history_list.html b/chrome/browser/resources/md_history/history_list.html
index fe68b5466923a603a7b2b8c3cf82d88676cc4486..7947550fea4048de72e4a4c578b8226af132251b 100644
--- a/chrome/browser/resources/md_history/history_list.html
+++ b/chrome/browser/resources/md_history/history_list.html
@@ -10,8 +10,10 @@
<template>
<style include="shared-style">
:host {
+ box-sizing: border-box;
display: block;
overflow: auto;
+ padding-top: var(--first-card-padding-top);
}
history-item {
@@ -27,7 +29,6 @@
<template>
<history-item item="[[item]]"
selected="{{item.selected}}"
- is-first-item="[[isFirstItem_(index)]]"
is-card-start="[[isCardStart_(item, index, historyData_.length)]]"
is-card-end="[[isCardEnd_(item, index, historyData_.length)]]"
has-time-gap="[[needsTimeGap_(item, index, historyData_.length)]]"
« no previous file with comments | « chrome/browser/resources/md_history/history_item.js ('k') | chrome/browser/resources/md_history/history_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698