fix: update button padding and hover styles for improved user interaction

This commit is contained in:
hamster1963
2026-06-01 11:58:33 +08:00
parent 30fb1fbe30
commit 33ba092345
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export default function GroupSwitch({
ref={tagRefs.current[index]}
onClick={() => setCurrentTab(tab)}
className={cn(
"relative cursor-pointer rounded-3xl px-2.5 py-[8px] text-[13px] font-semibold transition-all duration-500",
"relative cursor-pointer rounded-3xl px-2.5 py-2 text-[13px] font-semibold transition-all duration-500 ease-in-out hover:text-stone-950 hover:dark:text-stone-50",
currentTab === tab
? "text-black dark:text-white"
: "text-stone-400 dark:text-stone-500",