index.less 674 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. nz-tree-virtual-scroll-view {
  6. position: relative;
  7. display: block;
  8. overflow: auto;
  9. transform: translateZ(0);
  10. will-change: scroll-position;
  11. contain: strict;
  12. -webkit-overflow-scrolling: touch;
  13. .ant-tree-list, .ant-tree-list-holder {
  14. height: 100%;
  15. }
  16. }
  17. nz-tree-virtual-scroll-view, nz-tree-view {
  18. .ant-tree-switcher + .ant-tree-switcher.nz-tree-leaf-line-icon {
  19. display: none;
  20. }
  21. }
  22. nz-tree-view .ant-tree-list-holder-inner {
  23. display: flex;
  24. flex-direction: column;
  25. }