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

[shorten] Bad clipping #30

Open
harrislapiroff opened this issue Apr 11, 2015 · 0 comments
Open

[shorten] Bad clipping #30

harrislapiroff opened this issue Apr 11, 2015 · 0 comments
Assignees

Comments

@harrislapiroff
Copy link
Contributor

Shorten is somewhat brittle in that it relies on lines of text being a specific height. This assumption doesn't hold true if those two lines span multiple elements with potentially different text sizes. It would be nice to crop between lines of text or crop Facebook-style (clip some words and append the "see more" to the last paragraph).

screenshot 2015-04-10 23 58 12

screenshot 2015-04-11 00 02 46

We can probably do better than Facebook, tbh. Why clip the middle of a word???

@harrislapiroff harrislapiroff self-assigned this Apr 11, 2015
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