From 55af92bf9016a377dc3e857e2916d60eca2b60fd Mon Sep 17 00:00:00 2001 From: My Chiffon Nguyen Date: Sun, 23 Aug 2026 18:10:22 +0700 Subject: [PATCH 1/3] fix(publications): remove trailing author comma --- src/lib/publications/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/publications/utils.ts b/src/lib/publications/utils.ts index d70846c..4d692c0 100644 --- a/src/lib/publications/utils.ts +++ b/src/lib/publications/utils.ts @@ -419,7 +419,7 @@ function truncateAuthors( // Early return if no truncation needed if (totalAuthors <= maxFirst || totalAuthors <= maxFirst + maxLast) { return { - displayFirstAuthors: authors.join(", ") + (totalAuthors > 0 ? "," : ""), + displayFirstAuthors: authors.join(", "), hasMore: false, hiddenCount: 0, hiddenAuthors: "", From e9b8eef49581b862ec6f4224cb22d02f5581246b Mon Sep 17 00:00:00 2001 From: My Chiffon Nguyen Date: Sun, 23 Aug 2026 18:10:32 +0700 Subject: [PATCH 2/3] fix(ui): unify link and timeline styling --- src/components/base/Link.astro | 5 ++- src/components/publications/PubCard.astro | 2 +- src/components/timeline/TimelineItem.astro | 7 ++-- src/styles/typography-inline.css | 7 ---- src/styles/typography.css | 41 ++++++++++++++++++++++ 5 files changed, 49 insertions(+), 13 deletions(-) diff --git a/src/components/base/Link.astro b/src/components/base/Link.astro index 7aa2e3b..4da31f2 100644 --- a/src/components/base/Link.astro +++ b/src/components/base/Link.astro @@ -48,9 +48,11 @@ const relValue = relTokens.length > 0 ? relTokens.join(" ") : undefined