mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Tabs:tab content element set overflow: hidden
only when animated
set (#2322)
This commit is contained in:
parent
85595159ec
commit
e0e1bf0f65
@ -119,7 +119,9 @@
|
||||
}
|
||||
|
||||
&__content {
|
||||
overflow: hidden;
|
||||
&--animated {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&__track {
|
||||
|
@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<div
|
||||
ref="content"
|
||||
:class="b('content')"
|
||||
:class="b('content', { animated })"
|
||||
>
|
||||
<div
|
||||
v-if="animated"
|
||||
|
Loading…
x
Reference in New Issue
Block a user