aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/Loading/Grid.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Loading/Grid.svelte b/src/lib/Loading/Grid.svelte
index 73a6d284..233052fc 100644
--- a/src/lib/Loading/Grid.svelte
+++ b/src/lib/Loading/Grid.svelte
@@ -9,6 +9,8 @@
</div>
<style lang="scss">
+ @use 'sass:math';
+
.grid {
display: inline-block;
position: relative;
@@ -35,7 +37,7 @@
@for $i from 1 through 9 {
.grid div:nth-child(#{$i}) {
- $row: ceil(calc($i / 3));
+ $row: math.ceil(calc($i / 3));
$column: column($i);
top: 6px + ($row - 1) * 20px;