Xiaopeng Zhang 6 месяцев назад
Родитель
Сommit
49aaa6c5f6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      front/src/App2.js

+ 1 - 1
front/src/App2.js

@@ -834,7 +834,7 @@ const MUI_X_PRODUCTS = [
                      </Select>
                      </Select>
                    </FormControl> 
                    </FormControl> 
                    <Stack spacing={1}>
                    <Stack spacing={1}>
-                    <RichTreeView sx={{overflow: "scroll", maxHeight: "48vh"}}
+                    <RichTreeView sx={{overflow: "scroll", maxHeight: `calc(100vh - 540px)`}}
                      onItemSelectionToggle={handleItemSelectionToggleDes}
                      onItemSelectionToggle={handleItemSelectionToggleDes}
                      slots={{ item: CustomTreeItem }}
                      slots={{ item: CustomTreeItem }}