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 1300101789f2e9f99bde2e63b769721e6c6e130c
parent 3cb4fd63ba66e87d89255a90bbe763b754ae6a32
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu,  3 Oct 2024 17:11:54 +0200

fix: hide linebreaks in article previews

Diffstat:
Mtemplate.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template.html b/template.html @@ -23,7 +23,7 @@ /* Always scroll smoothly */ * { scroll-behavior: smooth; } /* Hide linebreaks inside articles */ - article > p > br { display: none; } + section > br, section > p > br { display: none; } /* Mark headline anchors as external links */ h2 > a[href^="https"]::after { content: " \2197";