Skip to content

Commit 01d05d9

Browse files
samejr0ski
authored andcommitted
Tabs hover state improvement
1 parent f39c782 commit 01d05d9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/webapp/app/components/primitives/ClientTabs.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ const ClientTabsTrigger = React.forwardRef<
107107
<span
108108
className={cn(
109109
"text-sm transition duration-200",
110-
isActive ? "text-text-bright" : "text-text-dimmed transition hover:text-text-bright"
110+
isActive
111+
? "text-text-bright"
112+
: "text-text-dimmed transition group-hover:text-text-bright"
111113
)}
112114
>
113115
{children}

apps/webapp/app/components/primitives/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function TabLink({
8585
"text-sm transition duration-200",
8686
active
8787
? "text-text-bright"
88-
: "text-text-dimmed transition hover:text-text-bright"
88+
: "text-text-dimmed transition group-hover:text-text-bright"
8989
)}
9090
>
9191
{children}

0 commit comments

Comments
 (0)