misc: change gap
This commit is contained in:
1 parent
766b461fe8
commit
79e0b3961a
2 files changed
+6
-9
No files matched your search
@@ -55,7 +55,7 @@
|
|||||||
/>
|
/>
|
||||||
<Sort selected={data.sort} />
|
<Sort selected={data.sort} />
|
||||||
</div>
|
</div>
|
||||||
<section class="flex flex-col gap-4">
|
<section class="flex flex-col gap-3 sm:gap-4">
|
||||||
{#if data.posts.posts.length == 0}
|
{#if data.posts.posts.length == 0}
|
||||||
<Placeholder>
|
<Placeholder>
|
||||||
<Icon src={ArchiveBox} size="32" solid slot="icon" />
|
<Icon src={ArchiveBox} size="32" solid slot="icon" />
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
<div class="flex flex-col md:flex-row gap-4 w-full">
|
<div class="flex flex-col md:flex-row gap-4 w-full">
|
||||||
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
|
<div class="flex flex-col gap-3 sm:gap-4 max-w-full w-full min-w-0">
|
||||||
<div class="flex flex-row gap-3 items-center">
|
<div class="flex flex-row gap-3 items-center">
|
||||||
<Avatar
|
<Avatar
|
||||||
width={48}
|
width={48}
|
||||||
@@ -66,13 +66,10 @@
|
|||||||
<Sort selected={data.sort} />
|
<Sort selected={data.sort} />
|
||||||
</div>
|
</div>
|
||||||
{#each data.posts.posts as post, index (post.post.id)}
|
{#each data.posts.posts as post, index (post.post.id)}
|
||||||
{#if
|
{#if !($userSettings.hidePosts.deleted && post.post.deleted) && !($userSettings.hidePosts.removed && post.post.removed)}
|
||||||
!($userSettings.hidePosts.deleted && post.post.deleted) &&
|
<div in:fly={{ y: -8, opacity: 0, delay: index < 4 ? index * 100 : 0 }}>
|
||||||
!($userSettings.hidePosts.removed && post.post.removed)
|
<Post hideCommunity={true} {post} />
|
||||||
}
|
</div>
|
||||||
<div in:fly={{ y: -8, opacity: 0, delay: index < 4 ? index * 100 : 0 }}>
|
|
||||||
<Post hideCommunity={true} {post} />
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
<Pageination
|
<Pageination
|
||||||
|
|||||||
Reference in new issue
Block a user