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