Skip to content

Commit aaa35a3

Browse files
committed
Fix width transition
1 parent 6b44db7 commit aaa35a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/tabs/style.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
height : HEIGHT
3232
width : 128px
3333
background-color : PRIMARY
34-
transition : left ANIMATION_DURATION ANIMATION_EASE
34+
transition-property : left, width
35+
transition-duration : ANIMATION_DURATION
36+
transition-timing-function : ANIMATION_EASE
3537

3638
:local(.tab)
3739
padding : (OFFSET / 2) OFFSET

0 commit comments

Comments
 (0)