File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-expression-editor" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"description" : " A powerful Vue 3 mathematical expression editor component" ,
5
5
"main" : " dist/index.js" ,
6
6
"module" : " dist/index.mjs" ,
Original file line number Diff line number Diff line change 76
76
.variables-section {
77
77
margin : 0 ;
78
78
height : 350px ; // 设置固定最大高度
79
- min-width : 280px ; // 设置最小宽度,确保变量区域不会太窄
80
- max-width : 35% ; // 限制变量区域的最大宽度
79
+ width : 320px ; // 固定宽度为320px
80
+ min-width : 320px ;
81
+ max-width : 320px ; // 固定最大宽度为320px
81
82
padding-right : v .$spacing-xl ; // 增加右侧内边距
82
83
border-right : 1px solid var (--el-border-color-light ); // 添加分隔线
83
- flex : 1 ;
84
+ flex : 0 0 320 px ; // 使用flex: 0 0 auto确保不会被压缩或拉伸
84
85
display : flex ;
85
86
flex-direction : column ;
86
87
overflow : hidden ; // 确保内容溢出时隐藏
123
124
:deep(.calculator ) {
124
125
margin-left : v .$spacing-xl ; // 增加左侧外边距
125
126
min-width : 320px ; // 设置最小宽度,确保计算器不会太窄
126
- flex : 2 ;
127
+ flex : 1 ; // 减小计算器区域的 flex 占比
127
128
}
128
129
}
129
130
}
You can’t perform that action at this time.
0 commit comments