Skip to content

Commit

Permalink
Revert: Fix break word for long text
Browse files Browse the repository at this point in the history
  • Loading branch information
CezaryDanielNowak committed Feb 3, 2018
1 parent 8b9967b commit b1eae05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/clamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@
sty.webkitBoxOrient = 'vertical';
sty.display = '-webkit-box';
sty.webkitLineClamp = clampValue;
sty.wordBreak = 'break-all';

if (isCSSValue) {
sty.height = opt.clamp + 'px';
Expand Down

1 comment on commit b1eae05

@fsmaia
Copy link

@fsmaia fsmaia commented on b1eae05 Jan 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this causing problems? This revert broke long unbroken words handling.

Please sign in to comment.