Skip to content

Commit

Permalink
[Tooltip] Fix word wrapping (#17020)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshuchittora authored and oliviertassinari committed Aug 17, 2019
1 parent 1632571 commit 3c49b31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const styles = theme => ({
fontSize: theme.typography.pxToRem(10),
lineHeight: `${theme.typography.round(14 / 10)}em`,
maxWidth: 300,
wordWrap: 'break-word',
fontWeight: theme.typography.fontWeightMedium,
},
/* Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
Expand Down

0 comments on commit 3c49b31

Please sign in to comment.