fix(#770): zhaoyun (文件合入)
This commit is contained in:
@@ -1813,14 +1813,24 @@ defineExpose({
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
/* Bug #770: 对话框 body 滚动区域限制,防止 footer 按钮遮盖表单字段 */
|
||||
/* Bug #770: Dialog flex 布局 — 防止 footer 按钮遮盖表单字段 */
|
||||
:deep(.el-dialog) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 90vh;
|
||||
margin-top: 5vh;
|
||||
}
|
||||
|
||||
:deep(.el-dialog__header) {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
:deep(.el-dialog__body) {
|
||||
max-height: calc(100vh - 220px);
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Bug #770: 确保 footer 固定在对话框底部,不随内容滚动 */
|
||||
:deep(.el-dialog__footer) {
|
||||
flex-shrink: 0;
|
||||
border-top: 1px solid #ebeef5;
|
||||
|
||||
Reference in New Issue
Block a user