fix: unable to click buttons in profile if you have a banner

This commit is contained in:
Xylight committed 2024-03-08 17:01:50 -08:00
1 parent 59b7a399b9
commit 33eddd252c
5 files changed
+9 -8

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -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",
@@ -35,6 +35,7 @@
const res = await getClient().saveUserSettings({
...formData,
avatar: pfp,
banner: banner,
})
toast({
+1 -1
View File
@@ -9,7 +9,7 @@
<title>Profile</title>
</svelte:head>
<div class="flex flex-col gap-4 h-full">
<div class="flex flex-col gap-4 h-full z-50">
<MultiSelect
options={[
'/profile/user',
+6 -6
View File
@@ -146,13 +146,13 @@
{/if}
{#if data.person_view.person.banner}
<img
src={data.person_view.person.banner}
class="absolute top-0 right-0 object-cover w-full h-40 banner"
alt="User banner"
/>
<img
src={data.person_view.person.banner}
class="absolute top-0 right-0 object-cover w-full h-40 banner -z-10"
alt="User banner"
/>
{/if}
<div class="flex flex-col-reverse gap-4 max-w-full w-full">
<div class="flex flex-col-reverse gap-4 max-w-full w-full z-0">
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
<div class="flex flex-row gap-4 flex-wrap justify-between">
<Select