vant-weapp/packages/tab/index.less
2019-12-26 16:16:57 +08:00

21 lines
268 B
Plaintext

:host {
flex-shrink: 0;
box-sizing: border-box;
width: 100%;
}
.van-tab__pane {
box-sizing: border-box;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&--active {
height: auto;
}
&--inactive {
height: 0;
overflow: visible;
}
}