Skip to content

Commit a2a412a

Browse files
committed
fix: adjust padding in tab buttons for improved layout
1 parent f3e7e3e commit a2a412a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function Tabs({
7878
if (!isDisabled) onTabChange(index);
7979
}}
8080
className={cn(
81-
'text-foreground relative z-10 border border-transparent px-8 py-2 transition-colors duration-300 hover:no-underline',
81+
'text-foreground relative z-10 border border-transparent px-4 py-2 transition-colors duration-300 hover:no-underline',
8282
isDisabled && 'cursor-not-allowed opacity-50',
8383
currentTab === index && 'text-primary'
8484
)}

0 commit comments

Comments
 (0)