mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
refactor(tab): adjust padding in complete mode
This commit is contained in:
parent
c77fb6265e
commit
90e678756a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user