fix: 🚨 Remove `/` for division outside of `calc()`

This commit is contained in:
ThatOneCalculator 2022-04-03 19:04:04 -07:00
parent 4fad42ff6a
commit 5021a3df8d
1 changed files with 1 additions and 1 deletions

View File

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