fix(ui): neaten large text paste toast
Drop the grey description and info icon, and widen the toast so the title and two actions sit on one clean row. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
co-authored by
Serhii Dziupin
parent
ef11ab5b14
commit
471d0a8ecb
@@ -1829,8 +1829,8 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({ onOpenSettings, scrollTo
|
||||
largeTextPasteToastIdRef.current = toast.info(
|
||||
t('chat.chatInput.toast.largeTextPaste.title'),
|
||||
{
|
||||
description: t('chat.chatInput.toast.largeTextPaste.description'),
|
||||
duration: Infinity,
|
||||
className: '!min-w-[22rem] !w-auto [&_[data-icon]]:!hidden',
|
||||
action: {
|
||||
label: t('chat.chatInput.toast.largeTextPaste.attach'),
|
||||
onClick: () => resolveLargePaste('attach'),
|
||||
|
||||
Reference in New Issue
Block a user