misc: make messages button send to messages page
This commit is contained in:
1 parent
01c1528b8b
commit
795004d4e2
2 files changed
+3
-2
No files matched your search
@@ -13,6 +13,7 @@
|
||||
import { browser } from '$app/environment'
|
||||
import { onMount, tick } from 'svelte'
|
||||
import { report } from '$lib/components/lemmy/moderation/moderation'
|
||||
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
@@ -80,7 +81,7 @@
|
||||
rounding="2xl"
|
||||
padding="none"
|
||||
class="bg-white dark:bg-zinc-950 dark:border-t-zinc-900
|
||||
w-full overflow-auto mt-6 relative max-h-[32rem]"
|
||||
w-full overflow-auto mt-6 relative max-h-[32rem] h-full"
|
||||
>
|
||||
<div class="h-full overflow-auto" bind:this={chatWindow}>
|
||||
<ul id="chat-window" class="flex flex-col gap-1 flex-1 px-4 py-4">
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
<Button
|
||||
size="square-md"
|
||||
color="secondary"
|
||||
on:click={() => (messaging = true)}
|
||||
href="/inbox/messages/{data.person_view.person.id}"
|
||||
title="Message"
|
||||
>
|
||||
<Icon slot="prefix" solid size="16" src={Envelope} />
|
||||
|
||||
Reference in new issue
Block a user