Skip to content

Commit

Permalink
fix: Use break-word for Snaps UI text wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Dec 20, 2024
1 parent 2eced17 commit 25fb18f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const text: UIComponentFactory<TextElement> = ({
props: {
variant:
element.props.size === 'sm' ? TextVariant.bodySm : TextVariant.bodyMd,
overflowWrap: OverflowWrap.Anywhere,
overflowWrap: OverflowWrap.BreakWord,
color: getTextColor(),
className: 'snap-ui-renderer__text',
textAlign: element.props.alignment,
Expand Down

0 comments on commit 25fb18f

Please sign in to comment.