fix: unable to click buttons in profile if you have a banner
This commit is contained in:
1 parent
59b7a399b9
commit
33eddd252c
5 files changed
+5
-4
No files matched your search
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
"@dicebear/core": "^6.0.4",
|
"@dicebear/core": "^6.0.4",
|
||||||
"@dicebear/initials": "^6.0.4",
|
"@dicebear/initials": "^6.0.4",
|
||||||
"markdown-it": "^13.0.1",
|
"markdown-it": "^13.0.1",
|
||||||
"mono-svelte": "latest"
|
"mono-svelte": "1.5.3"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
const res = await getClient().saveUserSettings({
|
const res = await getClient().saveUserSettings({
|
||||||
...formData,
|
...formData,
|
||||||
avatar: pfp,
|
avatar: pfp,
|
||||||
|
banner: banner,
|
||||||
})
|
})
|
||||||
|
|
||||||
toast({
|
toast({
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<title>Profile</title>
|
<title>Profile</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex flex-col gap-4 h-full">
|
<div class="flex flex-col gap-4 h-full z-50">
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
options={[
|
options={[
|
||||||
'/profile/user',
|
'/profile/user',
|
||||||
|
|||||||
@@ -148,11 +148,11 @@
|
|||||||
{#if data.person_view.person.banner}
|
{#if data.person_view.person.banner}
|
||||||
<img
|
<img
|
||||||
src={data.person_view.person.banner}
|
src={data.person_view.person.banner}
|
||||||
class="absolute top-0 right-0 object-cover w-full h-40 banner"
|
class="absolute top-0 right-0 object-cover w-full h-40 banner -z-10"
|
||||||
alt="User banner"
|
alt="User banner"
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/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-col gap-4 max-w-full w-full min-w-0">
|
||||||
<div class="flex flex-row gap-4 flex-wrap justify-between">
|
<div class="flex flex-row gap-4 flex-wrap justify-between">
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
Reference in new issue
Block a user