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

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

Issue 2733123003: [MD Bookmarks] Make folder nodes extend their whole width. (Closed)
Patch Set: closure 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/folder_node.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 507ccb98500d08f6309276c05af7f654d0cadfe1..6f2c5afa57bf7487ae92509f6aa7a00ef7b2bd98 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;
+ padding-left: calc(var(--node-depth, 0) * 30px);
}
#folder-label {
@@ -80,7 +77,8 @@
items="[[item_.children]]"
as="child"
filter="isFolder_">
- <bookmarks-folder-node item-id="[[child]]">
+ <bookmarks-folder-node item-id="[[child]]"
+ depth="[[getChildDepth_(depth)]]">
</bookmarks-folder-node>
</template>
</div>
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/folder_node.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698