Skip to content

Instantly share code, notes, and snippets.

@pgmccann
Created April 17, 2014 08:59
Show Gist options
  • Save pgmccann/10966497 to your computer and use it in GitHub Desktop.
Save pgmccann/10966497 to your computer and use it in GitHub Desktop.
Condensed tree view for http://atom.io. Modify stylesheet using Atom > Open Your Stylesheet.
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
.tree-view {
font-size:80%;
}
.list-group li:not(.list-nested-item), .list-tree li:not(.list-nested-item), .list-group li.list-nested-item > .list-item, .list-tree li.list-nested-item > .list-item {
line-height:18px;
}
.list-group .selected:before, .list-tree .selected:before {
height:18px;
}
.list-tree.has-collapsable-children .list-nested-item > .list-tree > li, .list-tree.has-collapsable-children .list-nested-item > .list-group > li {
padding-left:8px;
}
@Javadictator
Copy link

Good work. Can you make some packages like tree-lines on atom? it think it would be very useful.

@cyanotrix
Copy link

Thank you. Cannot believe even in 2021 its not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment