fix: sprinkle in some margins

This commit is contained in:
Draconizations 2022-04-25 20:07:22 +02:00
parent 72913aee5b
commit 616331add7
2 changed files with 8 additions and 4 deletions

View File

@ -313,7 +313,7 @@
{:else if settings.accessibility.expandedcards} {:else if settings.accessibility.expandedcards}
{#each slicedList as group, index (group.id)} {#each slicedList as group, index (group.id)}
{#if (!isPublic && group.privacy.visibility === "public") || isPublic} {#if (!isPublic && group.privacy.visibility === "public") || isPublic}
<Card> <Card class="mb-3">
<CardHeader> <CardHeader>
<CardsHeader item={group}> <CardsHeader item={group}>
<FaUsers slot="icon" /> <FaUsers slot="icon" />
@ -324,7 +324,7 @@
</CardBody> </CardBody>
</Card> </Card>
{:else} {:else}
<Card> <Card class="mb-3">
<CardHeader> <CardHeader>
<CardsHeader item={group}> <CardsHeader item={group}>
<FaLock slot="icon" /> <FaLock slot="icon" />
@ -337,6 +337,7 @@
{/if} {/if}
{/each} {/each}
{:else} {:else}
<div class="my-3">
{#each slicedList as group, index (group.id)} {#each slicedList as group, index (group.id)}
{#if (!isPublic && group.privacy.visibility === "public") || isPublic} {#if (!isPublic && group.privacy.visibility === "public") || isPublic}
<Card> <Card>
@ -356,6 +357,7 @@
</Card> </Card>
{/if} {/if}
{/each} {/each}
</div>
{/if} {/if}
<ListPagination bind:currentPage bind:pageAmount /> <ListPagination bind:currentPage bind:pageAmount />
{/if} {/if}

View File

@ -316,7 +316,7 @@
{:else if settings.accessibility.expandedcards} {:else if settings.accessibility.expandedcards}
{#each slicedList as member, index (member.id)} {#each slicedList as member, index (member.id)}
{#if (!isPublic && member.privacy.visibility === "public") || isPublic} {#if (!isPublic && member.privacy.visibility === "public") || isPublic}
<Card> <Card class="mb-3">
<CardHeader> <CardHeader>
<CardsHeader bind:item={member}> <CardsHeader bind:item={member}>
<FaUserCircle slot="icon" /> <FaUserCircle slot="icon" />
@ -327,7 +327,7 @@
</CardBody> </CardBody>
</Card> </Card>
{:else} {:else}
<Card> <Card class="mb-3">
<CardHeader> <CardHeader>
<CardsHeader bind:item={member}> <CardsHeader bind:item={member}>
<FaLock slot="icon" /> <FaLock slot="icon" />
@ -340,6 +340,7 @@
{/if} {/if}
{/each} {/each}
{:else} {:else}
<div class="my-3">
{#each slicedList as member, index (member.id)} {#each slicedList as member, index (member.id)}
{#if (!isPublic && member.privacy.visibility === "public") || isPublic} {#if (!isPublic && member.privacy.visibility === "public") || isPublic}
<Card> <Card>
@ -359,6 +360,7 @@
</Card> </Card>
{/if} {/if}
{/each} {/each}
</div>
{/if} {/if}
<ListPagination bind:currentPage bind:pageAmount /> <ListPagination bind:currentPage bind:pageAmount />
{/if} {/if}