fix: sometimes error message not display complete (#18663)

This commit is contained in:
非法操作 2025-04-24 11:58:44 +08:00 committed by GitHub
parent 69d3853111
commit 212521c92b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ const Toast = ({
</div> </div>
<div className={`flex py-1 ${size === 'md' ? 'px-1' : 'px-0.5'} grow flex-col items-start gap-1`}> <div className={`flex py-1 ${size === 'md' ? 'px-1' : 'px-0.5'} grow flex-col items-start gap-1`}>
<div className='flex items-center gap-1'> <div className='flex items-center gap-1'>
<div className='system-sm-semibold text-text-primary'>{message}</div> <div className='system-sm-semibold text-text-primary [word-break:break-word]'>{message}</div>
{customComponent} {customComponent}
</div> </div>
{children && <div className='system-xs-regular text-text-secondary'> {children && <div className='system-xs-regular text-text-secondary'>