feat: 重构编辑页面,优化表单布局和样式,增强用户体验

This commit is contained in:
2026-03-13 22:11:37 +08:00
parent ccf35df0c8
commit 847ec32144
2 changed files with 143 additions and 77 deletions

View File

@@ -1212,6 +1212,35 @@ th {
overflow: auto;
}
.edit-stack {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
gap: var(--space-2);
align-items: start;
}
.lcsc-import-panel .lcsc-inline-form {
grid-template-columns: 2fr 1fr;
align-items: end;
}
.edit-stack .lcsc-import-panel,
.edit-stack > .quick-inbound-panel,
.edit-stack > .edit-guide-panel {
grid-column: 1;
}
.edit-form-panel {
grid-column: 2;
grid-row: 1 / span 3;
position: sticky;
top: 92px;
}
.edit-guide-panel {
max-width: 100%;
}
.ai-standardize-preview {
display: grid;
gap: var(--space-1);
@@ -1332,6 +1361,20 @@ th {
.entry-sidebar {
position: static;
}
.lcsc-import-panel .lcsc-inline-form {
grid-template-columns: 1fr;
}
.edit-stack {
grid-template-columns: 1fr;
}
.edit-form-panel {
grid-column: auto;
grid-row: auto;
position: static;
}
}
@media (max-width: 760px) {