Update ChatScrollToBottom.tsx

This commit is contained in:
Nate Kelley 2025-04-17 11:41:05 -06:00
parent 45b431ce3c
commit 98428de1b8
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export const ChatScrollToBottom: React.FC<{
return (
<div
className={cn(
'absolute -top-9 right-3 z-10 transition-all duration-300 hover:scale-105 hover:shadow-md',
'absolute -top-9 right-3 z-10 transition-all duration-300 hover:scale-105',
isAutoScrollEnabled
? 'pointer-events-none scale-90 opacity-0'
: 'pointer-events-auto scale-100 cursor-pointer opacity-100'
@ -20,7 +20,7 @@ export const ChatScrollToBottom: React.FC<{
<button
onClick={scrollToBottom}
className={
'bg-background/90 hover:bg-item-hover/90 cursor-pointer rounded-full border p-2 shadow transition-all duration-300'
'bg-background/90 hover:bg-item-hover/90 cursor-pointer rounded-full border p-2 shadow transition-all duration-300 hover:shadow-md'
}>
<ChevronDown />
</button>