fix(Typography): fix truncation in firefox

This commit is contained in:
Aminejv 2021-09-28 18:31:24 +01:00
parent e185c76e5f
commit def37ee544

View File

@ -34,7 +34,7 @@ const truncateElements = (nbrOfLines) =>
nbrOfLines &&
css`
overflow: hidden;
word-break: break-word;
word-break: break-all;
text-overflow: ellipsis;
-webkit-line-clamp: ${nbrOfLines};
display: -webkit-box;