[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 { &__content {
&--animated {
overflow: hidden; overflow: hidden;
} }
}
&__track { &__track {
position: relative; position: relative;

View File

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