Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我最近正在探索和使用的 mBraak 的 jQtree 插件中。发现节点默认取父容器的全长。所以添加
ul.jqtree-tree .jqtree-element { cursor: pointer; *display:inline-block;* }
在 jqTree.css 文件中将解决此问题。但是尽管进行了此修复,但拖放仍然有效。上面修复了长宽节点叶子。
ul.jqtree-tree .jqtree-element { cursor: pointer; **display:inline-block;** }