Skip to content

Commit

Permalink
Update src/styles/getTooltipStyles.js
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene Voloshchak <copyreading@gmail.com>
  • Loading branch information
s77rt and eVoloshchak authored Mar 30, 2023
1 parent ecd1e19 commit aab0765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/getTooltipStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function getTooltipStyles(

// To measure tooltip text width correctly we render it freely i.e. text should not wrap to parent's boundaries.
// More info: https://github.com/Expensify/App/issues/15949#issuecomment-1483011998
whiteSpace: tooltipContentWidth ? undefined : 'pre',
...(tooltipContentWidth ? {} : styles.pre),
},
pointerWrapperStyle: {
position: 'fixed',
Expand Down

0 comments on commit aab0765

Please sign in to comment.