bootstrap-treeview
bootstrap-treeview copied to clipboard
Multi-line indent error
Changed indent method.
Used margin-left CSS instead of using as intend child anchor tags.
This will solve multi-line intent problems, as well as minimal generated HTML.
+1
Although, this should probably be added to the 2.0.0 milestone since it might break how some people are currently using the rendered items. Also, you say you're using margin-left
, but your implementation uses padding-left
. Not sure which one is better (we're using margin-left for our own multi-line workaround).