[bugfix] Tabs:tab content element set overflow: hidden only when animated set (#2322)

This commit is contained in:
张敏 2018-12-18 22:48:01 +08:00 committed by neverland
parent 85595159ec
commit e0e1bf0f65
2 changed files with 4 additions and 2 deletions

View File

@ -119,7 +119,9 @@
}
&__content {
overflow: hidden;
&--animated {
overflow: hidden;
}
}
&__track {

View File

@ -41,7 +41,7 @@
</div>
<div
ref="content"
:class="b('content')"
:class="b('content', { animated })"
>
<div
v-if="animated"