From b4be278a67896f3a931ff99a6eb37518c0af3995 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 23 Jan 2026 02:23:21 -0800
Subject: fix(Loading:Grid): Use math.ceil instead of deprecated global ceil
 function

---
 src/lib/Loading/Grid.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/lib/Loading/Grid.svelte')

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;
-- 
cgit v1.2.3

