perf: format dropdown menu code (#2720)

This commit is contained in:
Phạm Ngọc Hòa 2019-11-05 13:26:24 +07:00 committed by 花裤衩
parent 1f0ac624fc
commit daec48bbbe
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ $t: .1s;
.share-dropdown-menu-item { .share-dropdown-menu-item {
@for $i from 1 through $n { @for $i from 1 through $n {
&:nth-of-type(#{$i}) { &:nth-of-type(#{$i}) {
transition-delay: ($n - $i)*$t; transition-delay: ($n - $i)*$t;
transform: translate3d(0, ($i - 1)*60px, 0); transform: translate3d(0, ($i - 1)*60px, 0);
} }
} }