[bugfix] Tab: animated overflow
This commit is contained in:
@@ -442,7 +442,7 @@ export default sfc({
|
||||
{this.slots('nav-right')}
|
||||
</div>
|
||||
</div>
|
||||
<div ref="content" class={bem('content')}>
|
||||
<div ref="content" class={bem('content', { animated })}>
|
||||
{animated ? (
|
||||
<div class={bem('track')} style={this.trackStyle}>
|
||||
{this.slots()}
|
||||
|
||||
@@ -125,6 +125,12 @@
|
||||
will-change: left;
|
||||
}
|
||||
|
||||
&__content {
|
||||
&--animated {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&--line {
|
||||
padding-top: @tabs-line-height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user