From 33eddd252cb33fa0230853f8593a76a33aa9418a Mon Sep 17 00:00:00 2001 From: Xylight Date: Fri, 8 Mar 2024 17:01:50 -0800 Subject: [PATCH] fix: unable to click buttons in profile if you have a banner --- bun.lockb | Bin 294620 -> 294620 bytes package.json | 2 +- .../(local_user)/settings/+page.svelte | 1 + src/routes/profile/+layout.svelte | 2 +- src/routes/u/[name]/+page.svelte | 12 ++++++------ 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bun.lockb b/bun.lockb index ab3293e021fa9beada59e0d4ad582d1264ff147e..44b2d0af8e381bf470c62fdf109af6c90c52a8cb 100755 GIT binary patch delta 162 zcmV;T0A2sw{Sn;#5s)q*7+ah0yj|{ZaM-OpsP%%2XB+1p`WK%xK1<=>da23iu};=4 zlOQrIlMpTlvsf;5;y?`EmvQY9Sv7DstEh02`W Q0s)T$H7+x^*oFfH_#4wnbN~PV delta 164 zcmV;V09*gu{Sn;#5s)q*EGZtXeVh*)2k*VEZ@np8u`KGSE2~V5(q2#;je6Uru};=4 z0R)p_H7k=4E(o(&E_LESI(g>PW>>+F!1F9hFUG~uQq3F6+x~xMFv&z`f1(c3pfFhU z^k_S{cn~RjoTwILu6mcJL61Qu)ypi563msEhYb+{w+#^jq~-?#Y+-a|b99$5`~n=e S)b|1bj{`I=Hn-S@0|fYDgGrbG diff --git a/package.json b/package.json index eef364ef..ed1b4386 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@dicebear/core": "^6.0.4", "@dicebear/initials": "^6.0.4", "markdown-it": "^13.0.1", - "mono-svelte": "latest" + "mono-svelte": "1.5.3" }, "overrides": { "@rollup/plugin-node-resolve": "^15.2.3", diff --git a/src/routes/profile/(local_user)/settings/+page.svelte b/src/routes/profile/(local_user)/settings/+page.svelte index 7a7f928c..7dd5978a 100644 --- a/src/routes/profile/(local_user)/settings/+page.svelte +++ b/src/routes/profile/(local_user)/settings/+page.svelte @@ -35,6 +35,7 @@ const res = await getClient().saveUserSettings({ ...formData, avatar: pfp, + banner: banner, }) toast({ diff --git a/src/routes/profile/+layout.svelte b/src/routes/profile/+layout.svelte index a0588a4e..d9127b2a 100644 --- a/src/routes/profile/+layout.svelte +++ b/src/routes/profile/+layout.svelte @@ -9,7 +9,7 @@ Profile -
+