fix: 修复长文本编辑区域高度问题
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-28 11:11:57 +08:00
parent c67ace3576
commit 29f031ca61

View File

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