Skip to content

Commit 0d0115b

Browse files
authored
fix(tooltip): wrap unbroken text to prevent overflow (#19058)
1 parent dbddc7b commit 0d0115b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react/src/components/Tooltip/story.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@
4747
.sb-definition-tooltip p {
4848
@include type.type-style('body-short-02');
4949
}
50+
51+
.cds--tooltip-content {
52+
overflow-wrap: break-word;
53+
}

0 commit comments

Comments
 (0)