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

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

Issue 2733123003: [MD Bookmarks] Make folder nodes extend their whole width. (Closed)
Patch Set: address comments Created 3 years, 9 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/folder_node.html
diff --git a/chrome/browser/resources/md_bookmarks/folder_node.html b/chrome/browser/resources/md_bookmarks/folder_node.html
index 061536de2faa46c96c6b2b01ab34875afdabfd24..4893187524d329040c51b3fca2ea8f5cc937383e 100644
--- a/chrome/browser/resources/md_bookmarks/folder_node.html
+++ b/chrome/browser/resources/md_bookmarks/folder_node.html
@@ -32,10 +32,7 @@
#container {
height: 40px;
- }
-
- #descendants {
- -webkit-padding-start: 40.5px;
+ margin-left: calc(var(--node-depth, 0) * 30px);
}
#folder-label {
@@ -78,7 +75,7 @@
<div id="descendants" hidden$="[[isClosed]]">
<template is="dom-repeat" items="[[item.children]]"
filter="isFolder_" as="child">
- <bookmarks-folder-node item-id="[[child]]">
+ <bookmarks-folder-node item-id="[[child]]" depth="[[getChildDepth_(depth)]]">
tsergeant 2017/03/08 23:26:17 Nit: Wrap here.
calamity 2017/03/09 02:48:53 Done.
</bookmarks-folder-node>
</template>
</div>

Powered by Google App Engine
This is Rietveld 408576698