From 130bc8a6fa87b5146c88d19f1e33421302a60e2b Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 23 Jul 2024 10:32:09 +0100 Subject: [PATCH] feat(RepoSumamryCard): make author clearer to avoid confusion such as: nostr:note1eq0s2nncgv00pglrsc9psgxgd782mf3gq4mjw0g6tvhypfd99x8sntz2q3 --- src/lib/components/RepoSummaryCard.svelte | 40 ++++++++++++++++++----- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/src/lib/components/RepoSummaryCard.svelte b/src/lib/components/RepoSummaryCard.svelte index bff8799..bf9376a 100644 --- a/src/lib/components/RepoSummaryCard.svelte +++ b/src/lib/components/RepoSummaryCard.svelte @@ -1,6 +1,7 @@
- + {#if author} +
0} + class:rounded-md={additional_maintainers.length > 0} + class:bg-base-400={additional_maintainers.length > 0} + class:text-white={additional_maintainers.length > 0} + > + +
+ {#if additional_maintainers.length > 0} + with + + + {/if} + {/if}
{/if} @@ -49,7 +73,7 @@ content: ', '; } .reposummarycard li:last-child::before { - content: ' or '; + content: ' and '; } .reposummarycard li:first-child::before { content: '';