From 4434837a1cede97999a3872bb5d4de3d58c2095a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 22 Dec 2023 17:47:18 -0800
Subject: fix(wrapped): category for grid

---
 src/lib/Tools/Wrapped.svelte | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/lib/Tools/Wrapped.svelte')

diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte
index 0d8f0834..4d3f6ec4 100644
--- a/src/lib/Tools/Wrapped.svelte
+++ b/src/lib/Tools/Wrapped.svelte
@@ -130,7 +130,7 @@
 
 			let requiredWidth = topWidths > middleWidths ? topWidths : middleWidths;
 
-			if (bottomWidths > requiredWidth) requiredWidth = bottomWidths;
+			if (!disableActivityHistory && bottomWidths > requiredWidth) requiredWidth = bottomWidths;
 
 			wrappedContainer.style.width = `${requiredWidth}px`;
 			width = requiredWidth;
@@ -541,8 +541,8 @@
 					</div>
 				{/if}
 				{#if !disableActivityHistory}
-					<div class="categories-grid bottom-category" style="padding-top: 0;">
-						<div class="category-grid pure-category">
+					<div class="categories-grid" style="padding-top: 0;">
+						<div class="category-grid bottom-category pure-category category">
 							<div id="activity-history">
 								<ActivityHistoryGrid {user} activityData={activities} />
 							</div>
-- 
cgit v1.2.3

