diff --git a/src/renderer/src/pages/setting/tool/EditSource.vue b/src/renderer/src/pages/setting/tool/EditSource.vue index 4bd71edea..a9856cab9 100644 --- a/src/renderer/src/pages/setting/tool/EditSource.vue +++ b/src/renderer/src/pages/setting/tool/EditSource.vue @@ -11,14 +11,16 @@ {{ $t('pages.setting.editSource.template') }}
- + +
- + + @@ -251,7 +253,7 @@ import JSON5 from "json5"; import { computed, nextTick, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue'; import { useRouter } from 'vue-router'; import { MessagePlugin } from 'tdesign-vue-next'; -import { BugIcon, DeleteIcon, ExtensionIcon, HelpRectangleIcon, InternetIcon, GestureClickIcon, TransformIcon } from 'tdesign-icons-vue-next'; +import { BugIcon, ExtensionIcon, HelpRectangleIcon, FileIcon, GestureClickIcon, TransformIcon } from 'tdesign-icons-vue-next'; import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker'; import htmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker'; import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker'; @@ -1025,7 +1027,7 @@ const proxyEvent = async () => { align-items: center; .item-pad-select { - padding: 0 !important; + padding: 0 4px !important; } .item { @@ -1041,16 +1043,15 @@ const proxyEvent = async () => { :deep(.t-input) { padding: 0; border: none; - width: 54px; + width: 46px; height: var(--td-comp-size-s); font: var(--td-font-body-medium); - padding: 0 4px !important; + background-color: transparent !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; } }