Skip to content

[shorten] Bad clipping #30

Description

@harrislapiroff

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???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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