Skip to content

Crossbrowser clamp styling or component #12

@rmisio

Description

@rmisio

The current codebase has the .clamp (.clamp2, .clamp3...) class brought in from v2 desktop, but it seems a lot of that styling is webkit dependent. Let's adjust the styling to work on all modern browsers, if possible. If not, let's see if any community react components are out there that can help us. A big plus of such a component would be if it let's you know if it had to truncate or not, so that you can selectively apply behavior in that case (e.g. unlike desktop we could show a tooltip only if the text was truncated).

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