fix: update span class for improved whitespace handling

This commit is contained in:
DIYgod 2025-09-24 21:36:11 +08:00
parent 2ec185364e
commit f2f70ecd47
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export const TokenizedText = ({ input }: { input: React.ReactNode }) => {
}
return (
<span key={key} className="inline-block whitespace-pre-wrap" style={ANIMATION_STYLE}>
<span key={key} className="inline whitespace-pre-wrap" style={ANIMATION_STYLE}>
{text}
</span>
)