Skip to content

Commit

Permalink
clean up cursor pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Dec 9, 2024
1 parent 30dfe6d commit f7439dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions web/src/components/chat_search/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function FunctionalHeader({
};
return (
<div className="left-0 sticky top-0 z-20 w-full relative flex">
<div className="mt-2 cursor-pointer text-text-700 relative flex w-full">
<div className="mt-2 ext-text-700 relative flex w-full">
<LogoType
assistantId={currentChatSession?.persona_id}
page={page}
Expand Down Expand Up @@ -132,9 +132,10 @@ export default function FunctionalHeader({
: "")
}
>
<div className="cursor-pointer mr-4 flex-none text-text-700 hover:text-text-600 transition-colors duration-300">
<NewChatIcon size={20} />
</div>
<NewChatIcon
size={20}
className="cursor-pointer mr-4 flex-none text-text-700 hover:text-text-600 transition-colors duration-300"
/>
</Link>
</div>
<div
Expand Down
9 changes: 5 additions & 4 deletions web/src/components/header/LogoType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function LogoType({
</div>
)}
<div
className={`cursor-pointer ${
className={`${
showArrow ? "desktop:invisible" : "invisible"
} break-words inline-block w-fit ml-2 text-text-700 text-xl`}
>
Expand Down Expand Up @@ -103,9 +103,10 @@ export default function LogoType({
}
}}
>
<div className="cursor-pointer ml-2 flex-none text-text-700 hover:text-text-600 transition-colors duration-300">
<NewChatIcon size={20} />
</div>
<NewChatIcon
className="ml-2 flex-none text-text-700 hover:text-text-600 transition-colors duration-300"
size={20}
/>
</Link>
</TooltipTrigger>
<TooltipContent>New Chat</TooltipContent>
Expand Down

0 comments on commit f7439dc

Please sign in to comment.