feat: 重构编辑页面,优化表单布局和样式,增强用户体验
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user