Browse Source

view port no scroll

Xiaopeng Zhang 6 tháng trước cách đây
mục cha
commit
49aaa6c5f6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 }}