[Improment] improve Tab sticky fluency (#388)

This commit is contained in:
neverland
2017-12-07 11:52:55 +08:00
committed by GitHub
parent c2dddeb552
commit 1a0f73b12e
5 changed files with 58 additions and 26 deletions

View File

@@ -99,7 +99,7 @@ export default {
<style lang="postcss">
.demo-tab {
margin-bottom: 1000px;
margin-bottom: 700px;
.van-tab__pane {
background-color: #fff;
@@ -121,5 +121,11 @@ export default {
height: 50px;
line-height: 50px;
}
.van-doc-demo-block:last-child {
.van-tab__pane {
padding: 50px 20px;
}
}
}
</style>