fix: ⚗️ Try secondary calc

This commit is contained in:
ThatOneCalculator 2022-04-03 19:37:13 -07:00
parent d260e338f5
commit 1bd6d3721a
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ $partSize: 5em;
@for $p from 1 through $parts {
&:nth-of-type(#{$p}) {
animation-delay: $dur * random();
left: calc((100% - #{$partSize}) * math.div($p - 1, $parts));
left: calc((100% - #{$partSize}) * calc(($p - 1) / $parts));
}
}
}