From 598b1b100e387e9db51b60e35af44167a14b78ec Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 6 Sep 2013 13:30:34 -0700 Subject: [PATCH] Add .has-flat-children --- static/lists.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/lists.less b/static/lists.less index 7e3a37660..9f43112b7 100644 --- a/static/lists.less +++ b/static/lists.less @@ -88,5 +88,12 @@ .list-nested-item > .list-group { margin-left: @disclosure-arrow-padding; } + + // You want a subtree to be flat -- no collapsable children + &.has-flat-children, .has-flat-children { + li.list-item { + margin-left: 0; + } + } } }