braid-design-system@33.12.3
·
144 commits
to master
since this release
Patch Changes
-
TooltipRenderer: Ensure Chinese text is not wrapped incorrectly (#1916)
Right aligned tooltip triggers with tooltips containing long unbroken Chinese text are no longer forcibly broken across many lines.
This was due to the use ofoverflow-wrap: break-word;used to break long strings of Latin characters—guarding against broken layouts.For Chinese, Japanese and Korean (CJK) character sets, to avoid the unwanted line breaks it is recommened to apply the
word-break: keep-all;CSS property.See MDN reference for more information.