From 29f031ca61269548161c2628c0810910bb016f6a Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 28 Jan 2026 11:11:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=95=BF=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91=E5=8C=BA=E5=9F=9F=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/app-config/index.vue | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/frontend/src/views/app-config/index.vue b/frontend/src/views/app-config/index.vue index 3bb927a..18d4793 100644 --- a/frontend/src/views/app-config/index.vue +++ b/frontend/src/views/app-config/index.vue @@ -1258,30 +1258,23 @@ onMounted(() => { .text-edit-dialog :deep(.el-dialog__body) { padding: 16px 20px; - height: calc(80vh - 120px); - display: flex; - flex-direction: column; } .text-edit-wrapper { - flex: 1; - display: flex; - flex-direction: column; - min-height: 0; + height: calc(70vh - 60px); } -.text-edit-textarea { - flex: 1; +.text-edit-wrapper :deep(.el-textarea) { height: 100%; } -.text-edit-textarea :deep(.el-textarea__inner) { +.text-edit-wrapper :deep(.el-textarea__inner) { font-family: 'Monaco', 'Menlo', 'Consolas', monospace; - font-size: 13px; - line-height: 1.6; + font-size: 14px; + line-height: 1.7; height: 100% !important; - min-height: 100% !important; resize: none; + padding: 16px; } .text-edit-stats { @@ -1289,7 +1282,6 @@ onMounted(() => { text-align: right; color: #909399; font-size: 12px; - flex-shrink: 0; } /* 配置对话框优化 */