refactor(tab): adjust padding in complete mode

This commit is contained in:
zhongnan 2020-07-31 11:28:52 +08:00 committed by neverland
parent c77fb6265e
commit 90e678756a
2 changed files with 4 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export default createComponent({
},
swipeThreshold: {
type: [Number, String],
default: 4,
default: 5,
},
},

View File

@ -57,10 +57,13 @@
&--complete {
flex: 1 0 auto;
padding: 0 @padding-sm;
}
}
.van-tabs__nav {
padding-right: 8px;
padding-left: 8px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;