Skip to content

Consider text-overflow: ellipsis for long values #16

@spadgett

Description

@spadgett

We could use style text-overflow: ellipsis and then remove the style on click to reveal the full value. This has a few advantages over the collapse-long-text directive:

  1. Copying the text even if elided will copy the complete value, without needing to expand.
  2. The browser will show as much text as it can rather than eliding at some arbitrary character count.
  3. The full text will show in a tooltip if the user hovers over it.

/cc @liggitt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions