diff options
| author | Fuwn <[email protected]> | 2024-02-11 09:35:26 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-11 09:35:26 -0800 |
| commit | d73aee9eb103ea209227fee47e240889c3ada26f (patch) | |
| tree | d4760f5276103ed4afd0e9bebe989b9b26ecd9ff /src/lib/Loading/Grid.svelte | |
| parent | chore(svelte): replace configuration interface (diff) | |
| download | due.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.svelte | 2 |
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; |