fix(admin-ui): restore platform order create form grid layout
This commit is contained in:
@@ -89,6 +89,38 @@ a:hover{text-decoration:underline;}
|
||||
|
||||
.badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;margin-top:8px;}
|
||||
|
||||
/* Form Grid(中后台表单统一布局:两列栅格 + 全宽行) */
|
||||
.form-grid{
|
||||
display:grid;
|
||||
grid-template-columns:repeat(2,minmax(0,1fr));
|
||||
gap:12px;
|
||||
}
|
||||
|
||||
.form-grid label{
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
gap:6px;
|
||||
}
|
||||
|
||||
.form-grid label > span{
|
||||
font-size:12px;
|
||||
font-weight:600;
|
||||
color:var(--adm-text-secondary, #64748b);
|
||||
}
|
||||
|
||||
.form-grid label > small{
|
||||
margin-top:6px;
|
||||
}
|
||||
|
||||
.form-grid .full{
|
||||
grid-column:1 / -1;
|
||||
}
|
||||
|
||||
@media (max-width: 768px){
|
||||
.form-grid{grid-template-columns:1fr;}
|
||||
.form-grid .full{grid-column:auto;}
|
||||
}
|
||||
|
||||
table{
|
||||
width:100%;
|
||||
border-collapse:collapse;
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<form method="post" action="/admin/platform-orders" class="card form-grid">
|
||||
@csrf
|
||||
|
||||
Reference in New Issue
Block a user