Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: Fixed a text wrap issue #4503

Merged
merged 1 commit into from
Dec 10, 2024
Merged

fixed: Fixed a text wrap issue #4503

merged 1 commit into from
Dec 10, 2024

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Dec 10, 2024

fixed: Fixed a text wrap issue

@@ -78,7 +78,7 @@ export default {
formatterData = data
}
return (
<span style={{ whiteSpace: 'pre-wrap', lineHeight: '1.2' }}>{formatterData}</span>
<span style={{ whiteSpace: 'pre-wrap', wordBreak: 'break-word', lineHeight: '1.2' }}>{formatterData}</span>
)
}
if (this.value instanceof Array) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no issue with the code at this point, it only needs to be updated according to the new format.

@fit2bot fit2bot requested a review from a team December 10, 2024 08:05
@ZhaoJiSen ZhaoJiSen merged commit 367db0d into dev Dec 10, 2024
5 checks passed
@ZhaoJiSen ZhaoJiSen deleted the pr@dev@fixed_word_break branch December 10, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants