diff --git a/src/renderer/src/pages/setting/tool/EditSource.vue b/src/renderer/src/pages/setting/tool/EditSource.vue index 86d240b31..4bd71edea 100644 --- a/src/renderer/src/pages/setting/tool/EditSource.vue +++ b/src/renderer/src/pages/setting/tool/EditSource.vue @@ -10,34 +10,19 @@ {{ $t('pages.setting.editSource.template') }} -
- - +
+
- -
- - {{ $t('pages.setting.editSource.bug') }} -
-
- - {{ $t('pages.setting.editSource.delete') }} -
-
- - {{ $t('pages.setting.editSource.file') }} +
+ + + + +
@@ -359,7 +344,8 @@ let form = ref({ }); const tmp = reactive({ - file: '文件管理' + file: t('pages.setting.editSource.fileManage'), + run: t('pages.setting.editSource.run') }); const isVisible = reactive({ @@ -730,7 +716,8 @@ const deleteEvent = async () => { }; const fileEvent = async () => { - tmp.file = '文件'; + tmp.file = t('pages.setting.editSource.fileManage'); + tmp.run = t('pages.setting.editSource.run'); }; const serverEvent = async () => { @@ -1037,6 +1024,10 @@ const proxyEvent = async () => { border-radius: var(--td-radius-default); align-items: center; + .item-pad-select { + padding: 0 !important; + } + .item { color: var(--td-text-color-placeholder); border-radius: var(--td-radius-default); @@ -1047,14 +1038,25 @@ const proxyEvent = async () => { cursor: pointer; text-decoration: none; - :deep(.t-select-input--borderless .t-input:hover:not(.t-input--focused)) { - border-color: transparent; - color: var(--td-text-color-primary); - background-color: var(--td-bg-color-container-hover) !important; - } - :deep(.t-input) { padding: 0; + border: none; + width: 54px; + height: var(--td-comp-size-s); + font: var(--td-font-body-medium); + padding: 0 4px !important; + .t-input__suffix:not(:empty) { + margin-left: var(--td-comp-margin-xxs); + } + &:hover:not(.t-input--focused) { + border-color: transparent; + background-color: transparent !important; + height: 24px; + } + } + + :deep(.t-input__inner) { + color: var(--td-text-color-placeholder); } &:hover {