Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossbrowser clamp styling or component #12

Open
rmisio opened this issue Feb 12, 2019 · 0 comments
Open

Crossbrowser clamp styling or component #12

rmisio opened this issue Feb 12, 2019 · 0 comments

Comments

@rmisio
Copy link
Contributor

rmisio commented Feb 12, 2019

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant