misc: tweak inbox page
This commit is contained in:
1 parent
bb5f4c2162
commit
4b639c06d2
2 files changed
+4
-1
No files matched your search
@@ -17,6 +17,7 @@
|
|||||||
import { fly } from 'svelte/transition'
|
import { fly } from 'svelte/transition'
|
||||||
import { searchParam } from '$lib/util.js'
|
import { searchParam } from '$lib/util.js'
|
||||||
import { Button, Select } from 'mono-svelte'
|
import { Button, Select } from 'mono-svelte'
|
||||||
|
import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte'
|
||||||
|
|
||||||
export let data
|
export let data
|
||||||
|
|
||||||
@@ -106,9 +107,11 @@
|
|||||||
<InboxItem {item} />
|
<InboxItem {item} />
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
|
<div class="ml-auto mt-auto">
|
||||||
<Pageination
|
<Pageination
|
||||||
page={data.page}
|
page={data.page}
|
||||||
on:change={(p) => searchParam($page.url, 'page', p.detail.toString())}
|
on:change={(p) => searchParam($page.url, 'page', p.detail.toString())}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<Material class="flex flex-col max-w-full gap-4">
|
<Material class="flex flex-col max-w-full gap-4">
|
||||||
<div class="meta w-full">
|
<div class="meta w-full">
|
||||||
<div
|
<div
|
||||||
class="rounded-full p-1 h-10 w-10 border grid place-items-center"
|
class="rounded-full p-1 h-10 w-10 border border-slate-200 dark:border-zinc-800 grid place-items-center"
|
||||||
style="grid-area: a;"
|
style="grid-area: a;"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
|
|||||||
Reference in new issue
Block a user