2. truncate text in one line(with ellipsis)

  - accepted / - tried

Truncate text in one line, if needed add ellipsis.

1.When no overflow

2.when there is need to truncate, add ellipsis

Discuss(18)