We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ad07c commit 345cfb0Copy full SHA for 345cfb0
src/components/styles/layout.scss
@@ -18,7 +18,7 @@
18
max-width: 320px;
19
display: flex;
20
flex-direction: column;
21
- max-height: 320px; // 设置固定高度
+ height: 320px; // 修改:使用固定高度而不是 max-height
22
min-height: 120px;
23
margin-bottom: v.$spacing-md; // 添加底部间距
24
@@ -34,11 +34,13 @@
34
overflow: hidden;
35
36
37
+ height: calc(100% - 48px); // 添加:确保变量区域高度正确
38
39
:deep(.el-scrollbar) {
40
height: 100%;
- position: absolute;
41
- inset: 0;
+ flex: 1;
42
+ display: flex;
43
+ flex-direction: column;
44
45
.el-scrollbar__wrap {
46
0 commit comments