Skip to content

Commit

Permalink
perf(container): test code & doc indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
chuo0817 authored and HerringtonDarkholme committed Aug 6, 2020
1 parent ea87154 commit 1dd262d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/container/__tests__/container.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Container.vue', () => {
}

const wrapper = mount(TestComponent)
expect(wrapper.vm.$el.classList.contains('is-vertical')).toBe(true)
expect(wrapper.classes('is-vertical')).toBe(true)
})

test('direction', () => {
Expand Down
54 changes: 27 additions & 27 deletions packages/container/doc/basic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,31 +50,31 @@

<style scoped>
.el-header, .el-footer {
background-color: #B3C0D1;
color: #333;
text-align: center;
line-height: 60px;
}
.el-aside {
background-color: #D3DCE6;
color: #333;
text-align: center;
line-height: 200px;
}
.el-main {
background-color: #E9EEF3;
color: #333;
text-align: center;
line-height: 160px;
}
body > .el-container {
margin-bottom: 40px;
}
.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
line-height: 260px;
}
.el-container:nth-child(7) .el-aside {
line-height: 320px;
}
background-color: #B3C0D1;
color: #333;
text-align: center;
line-height: 60px;
}
.el-aside {
background-color: #D3DCE6;
color: #333;
text-align: center;
line-height: 200px;
}
.el-main {
background-color: #E9EEF3;
color: #333;
text-align: center;
line-height: 160px;
}
body > .el-container {
margin-bottom: 40px;
}
.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
line-height: 260px;
}
.el-container:nth-child(7) .el-aside {
line-height: 320px;
}
</style>

0 comments on commit 1dd262d

Please sign in to comment.