guardian/mobile-apps-article-templates — pull request #260 by andrewcb (2014-07-24 17:30:46+00:00)
Title: Fixed related card titles breaking after the icon

This was caused by the long title truncation code. Removed the -webkit-line-clamp from card titles because they forced lines to break after icons; replaced them with a max-height, which prevents text spilling over in the rare instances of overly long headlines; we lose the '...', but c'est la vie.

If we find that we need the '...', we can probably do it in JavaScript; alas, there seems no way to truncate lines in a text-aware form in pure WebKit CSS with this feature and with more than one span per truncatable unit.