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; } /* 配置对话框优化 */