ShinyChang/React-Text-Truncate

Truncate char is going to the (n + 1)th line

gabrielpugliese-luizalabs opened this issue · 3 comments

Doesn't matter how many lines I configure it, the char is always on the (n+1)th line. Don't really know how to debug, could you help me on that, please?

Screenshots:
image
image

The CSS on the parent div is this:

    width: 346px;
    float: left;
    margin-right: 20px;

Confirmed. The float element <img/> cause calculate error.