Solution: Set fixed and want to fix the width and height of the area
Table of contents
Unmodified before picture
Unchanged style
.main {
display: flex;
flex-direction: row;
// justify-content: space-between;
width: 100vw;
// 防止全部移动到上面位置!!!!!!!!!84vh随时改变
height: calc(100vh - 44px);
}
Picture after modification
Changed style
.main {
display: flex;
flex-direction: row;
// justify-content: space-between;
width: 100vw;
// 防止全部移动到上面位置!!!!!!!!!84vh随时改变
height: calc(84vh - 44px);
}