优化
This commit is contained in:
@@ -27,7 +27,7 @@ describe('overseas warehouse 1920px layout acceptance', () => {
|
||||
|
||||
it('keeps all inbound-order row actions on one line', () => {
|
||||
const source = page('InboundOrdersView.vue')
|
||||
expect(source).toContain('<template #actions="{ row }"><div class="row-actions density-actions">')
|
||||
expect(source).toContain('<template #actions="{ row }"><div class="row-actions density-actions admin-text-actions">')
|
||||
expect(source).toContain('.row-actions { min-width: max-content; flex-wrap: nowrap; white-space: nowrap; }')
|
||||
expect(source).toContain('.row-actions :deep(.el-button) { flex: 0 0 auto; }')
|
||||
expect(readFileSync(resolve(process.cwd(), 'src/styles/adminDensity.css'), 'utf8')).toContain('.density-actions > :is(.el-button, .el-dropdown) { margin-left: 0; }')
|
||||
|
||||
Reference in New Issue
Block a user