优化
This commit is contained in:
@@ -162,7 +162,7 @@ describe('LocationsView', () => {
|
||||
it('uses the prototype-sized centered editor without a detail drawer or section cards', () => {
|
||||
expect(locationsSource).not.toContain('AppDrawer')
|
||||
expect(locationsSource).not.toContain('FormSection')
|
||||
expect(locationsSource).toContain('width="min(560px, calc(100vw - 28px))"')
|
||||
expect(locationsSource).toContain('width="min(880px, calc(100vw - 28px))"')
|
||||
expect(densitySource).toContain('.admin-density-dialog.el-dialog .el-dialog__body { min-height: 0; overflow-y: auto;')
|
||||
expect(locationsSource).toContain('.editor-field-grid { grid-template-columns: minmax(0, 1fr); }')
|
||||
})
|
||||
|
||||
@@ -600,7 +600,7 @@ onMounted(() => {
|
||||
<AppDialog
|
||||
v-model="editorOpen"
|
||||
:title="editorMode === 'edit' && form.locationCode ? `${editorTitle} · ${form.locationCode}` : editorTitle"
|
||||
width="min(560px, calc(100vw - 28px))"
|
||||
width="min(880px, calc(100vw - 28px))"
|
||||
class="location-editor-dialog admin-density-dialog"
|
||||
:confirm-loading="saving"
|
||||
:close-on-click-modal="false"
|
||||
|
||||
Reference in New Issue
Block a user