Skip to content

Commit 4268927

Browse files
authored
fix(tabs): fix transition animation for tab title (#3008)
1 parent d8ae3f9 commit 4268927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/web-vue/components/tabs/style/index.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@
211211
background-color: @tabs-line-color-title-bg;
212212
border-radius: @tabs-line-border-radius;
213213
opacity: 1;
214-
transition: background-color,
214+
transition: background-color @transition-duration-2
215+
@transition-timing-function-linear,
215216
opacity @transition-duration-2 @transition-timing-function-linear;
216217
content: '';
217218
}

0 commit comments

Comments
 (0)