perf: format dropdown menu code (#2720)
This commit is contained in:
parent
6739ab543b
commit
6a194d1b4f
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue