fix: tighten index form layout

This commit is contained in:
chenkailing
2026-04-11 21:30:25 +08:00
parent c893dd7095
commit d35393ba22
2 changed files with 8 additions and 6 deletions

View File

@@ -548,8 +548,8 @@ a:focus {
.preview-options { .preview-options {
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: auto minmax(0, 1fr);
align-items: stretch; align-items: center;
gap: 12px; gap: 12px;
margin-bottom: 14px; margin-bottom: 14px;
overflow: visible; overflow: visible;
@@ -558,7 +558,7 @@ a:focus {
.preview-grid { .preview-grid {
display: grid; display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-columns: repeat(5, minmax(108px, 1fr));
gap: 12px; gap: 12px;
margin-bottom: 0; margin-bottom: 0;
overflow: visible; overflow: visible;
@@ -570,6 +570,8 @@ a:focus {
.preview-grid .form-control { .preview-grid .form-control {
width: 100%; width: 100%;
min-width: 0; min-width: 0;
padding-left: 16px;
padding-right: 16px;
} }
.preview-switches { .preview-switches {
@@ -587,7 +589,7 @@ a:focus {
align-items: center; align-items: center;
gap: 8px; gap: 8px;
margin: 0; margin: 0;
padding: 10px 14px; padding: 10px 12px;
border-radius: 999px; border-radius: 999px;
background: rgba(255, 255, 255, 0.76); background: rgba(255, 255, 255, 0.76);
border: 1px solid rgba(17, 19, 21, 0.08); border: 1px solid rgba(17, 19, 21, 0.08);

View File

@@ -493,8 +493,8 @@
search: false, search: false,
searchOnEnterKey: false, searchOnEnterKey: false,
showSearchButton: false, showSearchButton: false,
showRefresh: true, showRefresh: false,
showColumns: true, showColumns: false,
clickToSelect: true, clickToSelect: true,
locale: 'zh-CN', locale: 'zh-CN',
columns: [{ columns: [{