mirror of
https://github.com/youzan/vant.git
synced 2026-01-17 01:04:07 +08:00
refactor(tab): adjust padding in complete mode
This commit is contained in:
@@ -86,7 +86,7 @@ export default createComponent({
|
||||
},
|
||||
swipeThreshold: {
|
||||
type: [Number, String],
|
||||
default: 4,
|
||||
default: 5,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user