diff --git a/src/views/home/Repos.svelte b/src/views/home/Repos.svelte index a5d368ff2..4f41c495d 100644 --- a/src/views/home/Repos.svelte +++ b/src/views/home/Repos.svelte @@ -46,6 +46,7 @@ padding-right: 1.5rem; align-items: center; min-height: 40px; + margin-bottom: 0.5rem; } @@ -64,36 +65,38 @@ {/snippet}
Repositories
-
- {#each repos as repo} - {#if repo.payloads["xyz.radicle.project"]} - { - void router.push({ - resource: "repo.issues", - rid: repo.rid, - status: "open", - }); - }} /> - {/if} - {:else} - -
-
- - No repositories. -
+ {#if repos.length} +
+ {#each repos as repo} + {#if repo.payloads["xyz.radicle.project"]} + { + void router.push({ + resource: "repo.issues", + rid: repo.rid, + status: "open", + }); + }} /> + {/if} + {/each} +
+ {:else} + +
+
+ + No repositories.
- - {/each} -
+
+
+ {/if}