mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 21:45:56 +03:00
fix(Typography): fix truncation in firefox
This commit is contained in:
parent
e185c76e5f
commit
def37ee544
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user