[WEB-1670] style: fix tab highlights on user activity page. (#4898)
This commit is contained in:
parent
c0ad5952df
commit
8d3755c433
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const pathname = usePathname();
|
||||||
<Link key={tab.route} href={`/${workspaceSlug}/profile/${userId}/${tab.route}`}>
|
<Link key={tab.route} href={`/${workspaceSlug}/profile/${userId}/${tab.route}`}>
|
||||||
<span
|
<span
|
||||||
className={`flex whitespace-nowrap border-b-2 p-4 text-sm font-medium outline-none ${
|
className={`flex whitespace-nowrap border-b-2 p-4 text-sm font-medium outline-none ${
|
||||||
pathname === `/${workspaceSlug}/profile/${userId}${tab.selected}`
|
pathname === `/${workspaceSlug}/profile/${userId}${tab.selected}/`
|
||||||
? "border-custom-primary-100 text-custom-primary-100"
|
? "border-custom-primary-100 text-custom-primary-100"
|
||||||
: "border-transparent"
|
: "border-transparent"
|
||||||
}`}
|
}`}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue