facundoolano/feedi

Truncate entry content with CSS

開放

#72 建立於 2023年12月20日

 (0 則留言) (0 個反應) (0 位負責人)Python (30 個分叉)github user discovery
bughelp wanted

倉庫指標

星標
 (936 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I currently have a couple of template filters to truncate the entry content (full/text view and compact/pinned view) in Python. This is because I couldn't get the HTML and CSS to show ellipsis on overflow. Ideally containers should be fixed in size (e.g. the height of the image preview) and the CSS would adjust the text to take advantage of the available space, instead of the current solution which isn't consistent and leaves some blanks.

貢獻者指南