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

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

Issue 2733123003: [MD Bookmarks] Make folder nodes extend their whole width. (Closed)
Patch Set: 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..b5979a9c4195f04aabe04a33b2bca355ddd6c2f4 100644
--- a/chrome/browser/resources/md_bookmarks/folder_node.html
+++ b/chrome/browser/resources/md_bookmarks/folder_node.html
@@ -12,6 +12,7 @@
<template>
<style include="shared-style">
:host {
+ --padding-left-per-depth: 30px;
display: block;
}
@@ -34,10 +35,6 @@
height: 40px;
}
- #descendants {
- -webkit-padding-start: 40.5px;
- }
-
#folder-label {
color: var(--secondary-text-color);
cursor: pointer;
@@ -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)]]">
</bookmarks-folder-node>
</template>
</div>

Powered by Google App Engine
This is Rietveld 408576698