소스 검색

view port no scroll

Xiaopeng Zhang 6 달 전
부모
커밋
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>
                    </FormControl> 
                    <Stack spacing={1}>
-                    <RichTreeView sx={{overflow: "scroll", maxHeight: "48vh"}}
+                    <RichTreeView sx={{overflow: "scroll", maxHeight: `calc(100vh - 540px)`}}
                      onItemSelectionToggle={handleItemSelectionToggleDes}
                      slots={{ item: CustomTreeItem }}