pub / newsplanet

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

commit e9c6eecaea3d53fbed11fc47d27c0bb756b11811
parent 2c340bcaf77cbfe62304e730a4a83c500d7b7449
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue,  8 Oct 2024 11:56:12 +0200

fix: ensure source icons have correct height

Diffstat:
Mtemplate.html | 11++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/template.html b/template.html @@ -33,10 +33,6 @@ { display: none; } - /* Mark headline anchors as external links */ - h2 > a[href^="https"]::after { - content: " \2197"; - } /* Hide iframes in case they are not filtered out */ iframe { @@ -51,8 +47,9 @@ display: inline-flex; margin-left: 5px; margin-right: 5px; + max-height: 50px; } - img.button { + a.button > img { height: 30px; width: auto; } @@ -98,7 +95,7 @@ [% FOREACH entry IN feed.entries %] <section> <h2> - <a href="[% entry.link | url | html %]">[% entry.title | html %]</a> + <a href="[% entry.link | url | html %]">[% entry.title | html %] &#8599;</a> </h2> <p> [% IF entry.summary.body %] @@ -109,7 +106,7 @@ </p> <div class="button-row"> - <a class="button" href="[% entry.link | url | html %]"> + <a class="button" href="[% entry.link | url | html %]" style="width:65px;"> <!--IMG src="[% entry.link | url | html %]" alt="News Source">--> </a> [% IF entry.issued %]