From 4e18e7a67cb7cc535e88410ae1b53d88ab4083eb Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 31 Oct 2013 10:49:02 -0700 Subject: [PATCH] Lists are nested via padding the list items --- static/lists.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/lists.less b/static/lists.less index ba32ca033..d1613cda9 100644 --- a/static/lists.less +++ b/static/lists.less @@ -54,9 +54,9 @@ // Handle indentation of the tree. Assume disclosure arrows. .list-tree { - .list-nested-item > .list-tree, - .list-nested-item > .list-group { - margin-left: @component-icon-size + @component-icon-padding; + .list-nested-item > .list-tree > li, + .list-nested-item > .list-group > li { + padding-left: @component-icon-size + @component-icon-padding; } &.has-collapsable-children { @@ -86,9 +86,9 @@ } } - .list-nested-item > .list-tree, - .list-nested-item > .list-group { - margin-left: @disclosure-arrow-padding; + .list-nested-item > .list-tree > li, + .list-nested-item > .list-group > li { + padding-left: @disclosure-arrow-padding; } // You want a subtree to be flat -- no collapsable children