mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Add transition for the ant-tabs-ink-bar width
Currently when Tabs titles have very different width, the ink-bar width change without transition.
This commit is contained in:
parent
91bea2052c
commit
6d627a9295
@ -20,7 +20,7 @@
|
||||
background-color: @primary-color;
|
||||
transform-origin: 0 0;
|
||||
&-animated {
|
||||
transition: transform 0.3s @ease-in-out;
|
||||
transition: transform 0.3s @ease-in-out, width 0.3s @ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user