mgr/dashboard: Fix CRUSH map viewer VirtualScroll
As stated in https://angular2-tree.readme.io/docs/large-trees:
To use this (virtual scroll) option, one must supply the height of the
container, and the height of each node in the tree.
Current CRUSH map viewer can only show 13 out of 19 OSDs in our cluster,
and I can only get the rest of OSDs shown by fold some subtree, which is
very confusing. This PR follows the doc of "@circlon/angular-tree-component",
and set the suitable height.
Fixes: https://tracker.ceph.com/issues/45873
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit
be141cdcdbf4f052198bb2701f61f4c5ad75be75)
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.scss
-Adopted the changes of the master branch.