fix: some bugs

This commit is contained in:
codytseng 2025-09-08 09:21:46 +08:00
parent a6baca3009
commit 95f4b207d5
3 changed files with 6 additions and 4 deletions

View file

@ -98,7 +98,7 @@ export default function Tabs({
key={tab.value}
ref={(el) => (tabRefs.current[index] = el)}
className={cn(
`w-fit text-center py-2 px-6 my-1 font-semibold clickable cursor-pointer rounded-lg`,
`w-fit text-center py-2 px-6 my-1 font-semibold whitespace-nowrap clickable cursor-pointer rounded-lg`,
value === tab.value ? '' : 'text-muted-foreground'
)}
onClick={() => {