mirror of https://github.com/buster-so/buster.git
Update ChatScrollToBottom.tsx
This commit is contained in:
parent
45b431ce3c
commit
98428de1b8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue