refactor(tab): adjust padding in complete mode
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ export default createComponent({
|
|||||||
},
|
},
|
||||||
swipeThreshold: {
|
swipeThreshold: {
|
||||||
type: [Number, String],
|
type: [Number, String],
|
||||||
default: 4,
|
default: 5,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user