Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/Sidebar/NewChatButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const NewChatButton = ({ isExpanded, email, onClick }: NewChatButtonProps) => (
<button
type="button"
className={cn(
"inline-flex items-center h-10 rounded-lg whitespace-nowrap overflow-hidden transition-all duration-200 text-sm font-normal text-foreground hover:bg-muted",
"inline-flex items-center h-10 rounded-lg whitespace-nowrap overflow-hidden transition-all duration-200 text-sm font-normal text-foreground hover:bg-muted cursor-pointer",
isExpanded ? "w-full justify-start gap-2 px-3" : "w-10 justify-center mx-auto gap-0"
)}
onClick={onClick}
Expand Down
10 changes: 5 additions & 5 deletions components/Sidebar/RecentChats/ChatItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const ChatItem = ({
onSelect(event.shiftKey);
}}
className={cn(
"shrink-0 w-4 h-4 rounded border-2 transition-all duration-150 flex items-center justify-center",
"shrink-0 w-4 h-4 rounded border-2 transition-all duration-150 flex items-center justify-center cursor-pointer",
isSelected
? "bg-primary border-primary"
: "border-border hover:border-primary/50"
Expand All @@ -121,7 +121,7 @@ const ChatItem = ({
)}

<button
className="flex-grow text-left truncate min-w-0"
className="flex-grow text-left truncate min-w-0 cursor-pointer"
type="button"
onClick={handleClick}
>
Expand All @@ -134,7 +134,7 @@ const ChatItem = ({
<button
ref={setButtonRef}
className={cn(
`shrink-0 p-1 text-muted-foreground hover:text-foreground dark:hover:text-muted-foreground transition-colors duration-150 ${
`shrink-0 p-1 text-muted-foreground hover:text-foreground dark:hover:text-muted-foreground transition-colors duration-150 cursor-pointer ${
showOptions ? "opacity-100" : "opacity-0"
}`,
{
Expand Down Expand Up @@ -167,7 +167,7 @@ const ChatItem = ({
>
<button
type="button"
className="w-full text-left px-3 py-2 hover:bg-muted dark:hover:bg-dark-bg-tertiary text-sm dark:text-muted-foreground flex items-center gap-2 transition-colors"
className="w-full text-left px-3 py-2 hover:bg-muted dark:hover:bg-dark-bg-tertiary text-sm dark:text-muted-foreground flex items-center gap-2 transition-colors cursor-pointer"
onClick={onRenameClick}
role="menuitem"
>
Expand All @@ -176,7 +176,7 @@ const ChatItem = ({
</button>
<button
type="button"
className="w-full text-left px-3 py-2 hover:bg-red-50 dark:hover:bg-red-900/30 text-sm text-red-500 dark:text-red-400 flex items-center gap-2 transition-colors"
className="w-full text-left px-3 py-2 hover:bg-red-50 dark:hover:bg-red-900/30 text-sm text-red-500 dark:text-red-400 flex items-center gap-2 transition-colors cursor-pointer"
onClick={onDeleteClick}
role="menuitem"
>
Expand Down