Fix sidebar responsivity (#453)

* navbar height fix. has to be cleaned up
* use parent height for tree
* cleanups
This commit is contained in:
ftibi93
2024-11-01 10:41:23 +01:00
committed by GitHub
parent 4f1a97ceb9
commit e064e58f79
4 changed files with 17 additions and 5 deletions

View File

@ -197,7 +197,7 @@ export default function SpaceTree({ spaceId, readOnly }: SpaceTreeProps) {
disableEdit={readOnly}
{...controllers}
width={width}
height={height}
height={rootElement.current.clientHeight}
ref={treeApiRef}
openByDefault={false}
disableMultiSelection={true}