[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,8 +119,10 @@
}
&__content {
&--animated {
overflow: hidden;
}
}
&__track {
position: relative;

View File

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