Skip to content

Instantly share code, notes, and snippets.

@pgmccann
Created April 17, 2014 08:59
Show Gist options
  • Select an option

  • Save pgmccann/10966497 to your computer and use it in GitHub Desktop.

Select an option

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;
}
@JackWells

Copy link
Copy Markdown

Oh, yes. Much, much better. Thank You!! The default settings made it a goofy-looking waste of space (and I don't always want it hidden).

Note to newbies, you can go to View -> Reload to see the changes, or open in Dev-Mode (also under the View menu).

@gibb0n

gibb0n commented Mar 27, 2015

Copy link
Copy Markdown

This was exactly what I was looking for, thanks!

@ernest33

ernest33 commented May 6, 2015

Copy link
Copy Markdown

Thank you 👍

@jmarchello

Copy link
Copy Markdown

If you like to, you can incorporate the change I made in my fork which makes the icons smaller as well.

@kkayla

kkayla commented Jan 16, 2016

Copy link
Copy Markdown

yesssss

@rdewolff

Copy link
Copy Markdown

Thanks for sharing!
The selected folder seems to have a wrong height. Do you see this too?

@tofl

tofl commented Jul 27, 2016

Copy link
Copy Markdown

Thank you so much <3

@pkalbers

Copy link
Copy Markdown

What I needed! Thanks

@AndreHorst

Copy link
Copy Markdown

this is excellent!

@Javadictator

Copy link
Copy Markdown

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

@cyanotrix

Copy link
Copy Markdown

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