File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <el-dialog v-model =" dialogVisible" :title =" t('settings.title')" width =" 400px " :close-on-click-modal =" false" >
2
+ <el-dialog v-model =" dialogVisible" :title =" t('settings.title')" width =" 460px " :close-on-click-modal =" false" >
3
3
<div class =" settings-form" >
4
- <el-form label-position =" left" label-width =" 120px " >
4
+ <el-form label-position =" left" label-width =" 180px " >
5
5
<el-form-item :label =" t('settings.autoCompleteBrackets')" >
6
6
<el-switch v-model =" localSettings.autoCompleteBrackets" />
7
7
</el-form-item >
@@ -108,4 +108,9 @@ const handleCancel = () => {
108
108
justify-content : flex-end ;
109
109
gap : 12px ;
110
110
}
111
+
112
+ :deep(.el-form-item__label ) {
113
+ font-size : 14px ;
114
+ white-space : nowrap ;
115
+ }
111
116
</style >
Original file line number Diff line number Diff line change @@ -1761,10 +1761,17 @@ onMounted(() => {
1761
1761
.calculator {
1762
1762
display : none ;
1763
1763
}
1764
+ // 当隐藏键盘时,移除间隙
1765
+ gap : 0 ;
1764
1766
}
1765
1767
1766
1768
& .horizontal-layout {
1767
1769
flex-direction : row ;
1770
+
1771
+ // 在水平布局且隐藏键盘时,移除间隙
1772
+ & .hide-keyboard {
1773
+ gap : 0 ;
1774
+ }
1768
1775
}
1769
1776
}
1770
1777
</style >
You can’t perform that action at this time.
0 commit comments