refactor(tab): adjust padding in complete mode

This commit is contained in:
zhongnan
2020-07-31 16:46:34 +08:00
committed by neverland
parent c77fb6265e
commit 90e678756a
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ export default createComponent({
}, },
swipeThreshold: { swipeThreshold: {
type: [Number, String], type: [Number, String],
default: 4, default: 5,
}, },
}, },
+3
View File
@@ -57,10 +57,13 @@
&--complete { &--complete {
flex: 1 0 auto; flex: 1 0 auto;
padding: 0 @padding-sm;
} }
} }
.van-tabs__nav { .van-tabs__nav {
padding-right: 8px;
padding-left: 8px;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;