[improvement] Tab: optimize animated tab (#2302)
This commit is contained in:
@@ -148,17 +148,7 @@
|
||||
|
||||
.van-tab__pane {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
overflow-y: auto;
|
||||
|
||||
&--inactive {
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
&--active {
|
||||
height: auto;
|
||||
}
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user