aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Loading/Grid.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-11 09:35:26 -0800
committerFuwn <[email protected]>2024-02-11 09:35:26 -0800
commitd73aee9eb103ea209227fee47e240889c3ada26f (patch)
treed4760f5276103ed4afd0e9bebe989b9b26ecd9ff /src/lib/Loading/Grid.svelte
parentchore(svelte): replace configuration interface (diff)
downloaddue.moe-d73aee9eb103ea209227fee47e240889c3ada26f.tar.xz
due.moe-d73aee9eb103ea209227fee47e240889c3ada26f.zip
chore(loading): use scss calc
Diffstat (limited to 'src/lib/Loading/Grid.svelte')
-rw-r--r--src/lib/Loading/Grid.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Loading/Grid.svelte b/src/lib/Loading/Grid.svelte
index 353600be..6fff4da0 100644
--- a/src/lib/Loading/Grid.svelte
+++ b/src/lib/Loading/Grid.svelte
@@ -35,7 +35,7 @@
@for $i from 1 through 9 {
.grid div:nth-child(#{$i}) {
- $row: ceil($i / 3);
+ $row: ceil(calc($i / 3));
$column: column($i);
top: 6px + ($row - 1) * 20px;