From 103982dff48f0aae87eb2b64bcc303a7c4c9a1ad Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 24 Mar 2024 21:21:49 +0800 Subject: [PATCH] theme-game fix category style --- themes/game/components/GroupCategory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/game/components/GroupCategory.js b/themes/game/components/GroupCategory.js index 095755a1..a42afb72 100644 --- a/themes/game/components/GroupCategory.js +++ b/themes/game/components/GroupCategory.js @@ -10,7 +10,7 @@ function GroupCategory({ currentCategory, categoryOptions }) { -
+
{categoryOptions.map(category => { const selected = currentCategory === category.name return ( @@ -22,7 +22,7 @@ function GroupCategory({ currentCategory, categoryOptions }) { selected ? 'bg-green-500 text-white ' : 'dark:text-gray-300 hover:bg-green-500 rounded-lg hover:text-white' - } whitespace-nowrap overflow-ellipsis w-full items-center px-2 cursor-pointer py-1 font-bold`}> + } whitespace-nowrap overflow-ellipsis items-center px-2 cursor-pointer py-1 font-bold`}> {/* */}