fix(admin): 完善弹窗滚动与表单交互布局

This commit is contained in:
2026-10-21 07:40:08 +08:00
parent 2f9a3330e5
commit 0a1968a134
41 changed files with 614 additions and 131 deletions
@@ -0,0 +1,45 @@
/* Native work-command fields share the existing input theme, with local form layout. */
.appointment-native-form {
min-width: 0;
}
.appointment-native-form > fieldset {
display: grid;
min-width: 0;
gap: var(--admin-space-5);
margin: var(--admin-space-3) 0;
padding: 0;
border: 0;
}
.appointment-native-form label:has(> :is(input, select, textarea, .el-date-editor)) {
display: grid;
min-width: 0;
gap: var(--admin-space-2);
overflow-wrap: anywhere;
}
.appointment-native-form label > :is(.workbench-input, .el-date-editor) {
width: 100%;
min-width: 0;
max-width: 100%;
}
.appointment-native-form label > textarea {
resize: vertical;
}
.appointment-native-form label:has(> input[type='checkbox']) {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.appointment-native-form .appointment-form-actions {
position: sticky;
z-index: 1;
bottom: 0;
padding-block: var(--admin-space-3);
border-top: 1px solid var(--workbench-border);
background: var(--workbench-surface);
}