MLEVN / mlevn.github.io

ML EVN - Yerevan machine learning community
https://mlevn.org
9 stars 19 forks source link

fix truncation of excerpt preview on card #23

Closed bittlingmayer closed 6 years ago

bittlingmayer commented 6 years ago

Right now we do truncation at n chars with liquid in _includes/list.html. Really we should not do it in liquid, instead the full excerpt should be in the HTML, but overflow beyond 2 lines should be hidden with CSS.

Actual:

screen shot 2018-07-14 at 10 35 29

Expected:

screen shot 2018-07-14 at 10 36 04
SGevorg commented 6 years ago

Added css styles to fix the truncation of the text to 2 lines, removed the truncate pipe from the list.html