Skip to content

Commit 3da1bf8

Browse files
emyarodAlessandra Davilakodiakhq[bot]
authored
fix: word wrap by default in TooltipDefinition and TooltipIcon (#7187)
Co-authored-by: Alessandra Davila <aledavila@ibm.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 6d88ed3 commit 3da1bf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/src/globals/scss/_tooltip.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
color: inherit;
139139
// overwrite default nowrap behavior
140140
white-space: normal;
141+
word-break: break-word;
141142
// In order to pass AAT, opacity must be set to 1 in the default state
142143
// On focus/hover use a keyframe animation to mimic transition
143144
opacity: 1;

0 commit comments

Comments
 (0)