facundoolano/feedi

Truncate entry content with CSS

オープン

#72 opened on 2023/12/20

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (30 件のフォーク)github user discovery
bughelp wanted

Repository metrics

Stars
 (936 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド