fix: fix overflow when bot description too long (#19805)

This commit is contained in:
CorrectRoad 2025-05-16 14:35:22 +08:00 committed by GitHub
parent de2cfd2927
commit a15129a00c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -247,7 +247,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
</div> </div>
{/* description */} {/* description */}
{appDetail.description && ( {appDetail.description && (
<div className='system-xs-regular text-text-tertiary'>{appDetail.description}</div> <div className='system-xs-regular overflow-wrap-anywhere w-full max-w-full whitespace-normal break-words text-text-tertiary'>{appDetail.description}</div>
)} )}
{/* operations */} {/* operations */}
<div className='flex flex-wrap items-center gap-1 self-stretch'> <div className='flex flex-wrap items-center gap-1 self-stretch'>