pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit b1ecc8b92853139027d3bbc024ffebf1e24937af
parent a916e602f4e306358ddf8b089df7bba8786874d1
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  5 Apr 2025 12:01:43 +0200

fix: ensure only the first paragraph of each article summary is shown

Diffstat:
Massets/css/custom.css | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/assets/css/custom.css b/assets/css/custom.css @@ -9,7 +9,8 @@ section > p > br display: none; } /* Only show first paragraph of article content (typically the summary) */ -.article_content > *:nth-child(n + 2) { +.article_content *:nth-child(n + 2), +{ display: none; } .article_content {