From fcead9075b1a432efd2234f386acf473d6dcfe4c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 18 Apr 2024 16:30:09 -0700
Subject: feat(badges): newline for description tooltip

---
 src/lib/FallbackBadge.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/FallbackBadge.svelte')

diff --git a/src/lib/FallbackBadge.svelte b/src/lib/FallbackBadge.svelte
index 19dba2e7..323ea791 100644
--- a/src/lib/FallbackBadge.svelte
+++ b/src/lib/FallbackBadge.svelte
@@ -48,7 +48,7 @@
 {#if replaceCount < maxReplaceCount}
 	<Tooltip
 		content={`${badge.time ? $locale().dateFormatter(databaseTimeToDate(badge.time)) : ''}${
-			badge.description ? `, ${badge.description}` : ''
+			badge.description ? `\n${badge.description}` : ''
 		}${badge.designer ? `\nDesigner: ${badge.designer}` : ''}${
 			badge.source ? `\nSource: ${badge.source}` : ''
 		}`}
-- 
cgit v1.2.3

