Skip to content

Commit

Permalink
Break word on InfoTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas committed Sep 26, 2017
1 parent 7d934e7 commit 2b2ca8b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export default function InfoTooltipWithTrigger({
return (
<OverlayTrigger
placement={placement}
overlay={<Tooltip id={`${slugify(label)}-tooltip`}>{tooltip}</Tooltip>}
overlay={
<Tooltip id={`${slugify(label)}-tooltip`} style={{ wordWrap: 'break-word' }}>
{tooltip}
</Tooltip>
}
>
<i
className={iconClass}
Expand Down

0 comments on commit 2b2ca8b

Please sign in to comment.