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

Unified Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2639893006: [MD Bookmarks] Add lines between items and no search results message. (Closed)
Patch Set: 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/md_bookmarks/list.html
diff --git a/chrome/browser/resources/md_bookmarks/list.html b/chrome/browser/resources/md_bookmarks/list.html
index 2cc1dc0034202faea48c5b2b4d977dcf97bf77a8..455120420a72900c57ee573e34c18beb1f63112d 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -34,6 +34,7 @@
height: 100%;
justify-content: center;
}
+
jiaxi 2017/01/19 04:50:57 Extra line here.
angelayang 2017/01/19 05:00:23 Done.
</style>
<dialog is="cr-action-menu" id="dropdown">
<button class="dropdown-item" on-tap="onEditTap_">
@@ -67,14 +68,15 @@
</paper-button>
</div>
</dialog>
- <div id="bookmarksCard" hidden$="[[isListEmpty_(displayedList.length)]]">
+ <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList.length)]]">
<template is="dom-repeat" items="[[displayedList]]" as="item">
- <bookmarks-item item="[[item]]"></bookmarks-item>
+ <bookmarks-item item="[[item]]"
+ is-last-item="[[isLastItem_(item)]]"></bookmarks-item>
</template>
</div>
<div class="centered-message"
- hidden$="[[!isListEmpty_(displayedList.length)]]">
- $i18n{emptyList}
+ hidden$="[[!isEmptyList_(displayedList.length)]]">
+ {{emptyListMessage_(displayedList.length)}}
</div>
</template>
<script src="chrome://bookmarks/list.js"></script>

Powered by Google App Engine
This is Rietveld 408576698