misc: make user card visible on mobile
This commit is contained in:
1 parent
327ef007aa
commit
c2746cafaf
2 files changed
+4
-4
No files matched your search
@@ -2,7 +2,7 @@
|
||||
class="sticky top-20 border bg-white border-slate-200
|
||||
dark:border-zinc-800 dark:bg-zinc-900 break-words flex
|
||||
flex-col gap-4 p-6 w-[22rem] rounded-md h-max max-h-[calc(100vh-6rem)]
|
||||
overflow-auto text-sm"
|
||||
overflow-auto text-sm {$$props.class}"
|
||||
>
|
||||
<slot />
|
||||
</aside>
|
||||
@@ -46,7 +46,7 @@
|
||||
<title>{data.user.person_view.person.name}</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="flex flex-row gap-4 max-w-full w-full">
|
||||
<div class="flex flex-col-reverse lg:flex-row gap-4 max-w-full w-full">
|
||||
<div class="flex flex-col gap-4 max-w-full w-full">
|
||||
{#each items as item}
|
||||
{#if isComment(item)}<Card
|
||||
@@ -84,8 +84,8 @@
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="max-w-sm w-full hidden lg:block">
|
||||
<StickyCard>
|
||||
<div class="max-w-sm w-full mx-auto">
|
||||
<StickyCard class="w-full">
|
||||
<Avatar
|
||||
width={64}
|
||||
url={data.user.person_view.person.avatar}
|
||||
|
||||
Reference in new issue
Block a user