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 56d696d commit ec831d5Copy full SHA for ec831d5
src/components/styles/layout.scss
@@ -23,18 +23,26 @@
23
24
.variables-section {
25
margin: 0;
26
- height: 100%;
+ height: 350px; // 设置固定最大高度
27
min-width: 280px; // 设置最小宽度,确保变量区域不会太窄
28
max-width: 35%; // 限制变量区域的最大宽度
29
padding-right: v.$spacing-xl; // 增加右侧内边距
30
border-right: 1px solid var(--el-border-color-light); // 添加分隔线
31
flex: 1;
32
display: flex;
33
flex-direction: column;
34
+ overflow: hidden; // 确保内容溢出时隐藏
35
36
.variables {
37
+ flex: 1;
38
+ overflow: hidden;
39
+
40
:deep(.el-scrollbar) {
- max-height: 600px;
41
+ height: 100%;
42
43
+ .el-scrollbar__wrap {
44
45
+ }
46
}
47
48
@@ -97,6 +105,7 @@
97
105
98
106
.el-scrollbar__wrap {
99
107
overflow-x: hidden;
108
100
109
101
110
102
111
.el-scrollbar__view {
0 commit comments