Skip to content

[euiTextTruncate utility] Support multi-line truncation #6312

@elizabetdev

Description

@elizabetdev

This suggestion was shared by @evangelia-mitsopoulou in our EUI slack channel:

I noticed in most cloud tables, the names are not truncated and are occupying a lot of vertical space on resizing. I think if we add a multi-line ellipsis utility class would be beneficial not only for my "specific flyout" but for most tables in wider contexts as well. Our views will look tidy and the information compact

So we should consider enhance our euiTextTruncate functionality to support multi-line text truncation.

Here's an article that shows how we can support this:
https://css-tricks.com/line-clampin/

Metadata

Metadata

Assignees

Labels

stale-issue(Don't delete - used for automation)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions