Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrylo Hudym-Levkovych authored and Kyrylo Hudym-Levkovych committed Sep 1, 2023
1 parent 756f61b commit fffe26f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Truncate/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ const createCopyElement = (element) => {
const newElement = document.createElement(element.tagName);
newElement.setAttribute(
'style',
`line-height: ${LINE_HEIGHT_VALUE}px; display: inline-block;`,
'word-break: break-word',
`line-height: ${LINE_HEIGHT_VALUE}px; display: inline-block; word-break: break-word;`,
);
return newElement;
};
Expand Down

0 comments on commit fffe26f

Please sign in to comment.