[new feature] Tabs: add animated props to change tabs with animation (#2126)
This commit is contained in:
@@ -114,6 +114,10 @@
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
&__content {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&--line {
|
||||
padding-top: @tabs-line-height;
|
||||
|
||||
@@ -129,4 +133,12 @@
|
||||
height: @tabs-card-height;
|
||||
}
|
||||
}
|
||||
|
||||
.van-tab__pane {
|
||||
box-sizing: border-box;
|
||||
|
||||
&--float {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user