misc: change gap

This commit is contained in:
Xyphyn committed 2023-08-07 11:36:40 -07:00
1 parent 766b461fe8
commit 79e0b3961a
2 files changed
+6 -9

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@
/>
<Sort selected={data.sort} />
</div>
<section class="flex flex-col gap-4">
<section class="flex flex-col gap-3 sm:gap-4">
{#if data.posts.posts.length == 0}
<Placeholder>
<Icon src={ArchiveBox} size="32" solid slot="icon" />
+5 -8
View File
@@ -41,7 +41,7 @@
</Modal>
<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">
<Avatar
width={48}
@@ -66,13 +66,10 @@
<Sort selected={data.sort} />
</div>
{#each data.posts.posts as post, index (post.post.id)}
{#if
!($userSettings.hidePosts.deleted && post.post.deleted) &&
!($userSettings.hidePosts.removed && post.post.removed)
}
<div in:fly={{ y: -8, opacity: 0, delay: index < 4 ? index * 100 : 0 }}>
<Post hideCommunity={true} {post} />
</div>
{#if !($userSettings.hidePosts.deleted && post.post.deleted) && !($userSettings.hidePosts.removed && post.post.removed)}
<div in:fly={{ y: -8, opacity: 0, delay: index < 4 ? index * 100 : 0 }}>
<Post hideCommunity={true} {post} />
</div>
{/if}
{/each}
<Pageination