eu81273 / angular.treeview

AngularJS based Treeview (no jQuery)
MIT License
405 stars 223 forks source link

Horizontal scroll #38

Closed mrdavidsson closed 9 years ago

mrdavidsson commented 9 years ago

Does anyone know how to make a horizontal scroll work when the tree gets deep or the node names are long? It works vertically. Is it because the use of padding perhaps?

Here is a modified fiddle: http://jsfiddle.net/mrdavidsson/Lynpnddz/12/

mrdavidsson commented 9 years ago

One solution is to remove the overflow on the "ul" in the css div[data-tree-model] ul { margin: 0; padding: 0; list-style: none; border: none; /overflow: hidden;/ }