From 778a9c870d404a5e43640968f3a81c49f5c8a29c Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 28 Jun 2018 11:48:37 +1000 Subject: [PATCH] Move cats and syndications back into the card, shrinking them down to avoid taking up too much vertical space --- entries/jinja2/entries/h-entry.html | 25 +++++++++++++------------ entries/static/entries/css/h-entry.styl | 2 ++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/entries/jinja2/entries/h-entry.html b/entries/jinja2/entries/h-entry.html index 6d55eb2..ea2fab8 100644 --- a/entries/jinja2/entries/h-entry.html +++ b/entries/jinja2/entries/h-entry.html @@ -20,18 +20,6 @@ {{i}} {{i}}{{ entry.short_url | friendly_url }} {{i}} - {% for c in entry.cats.all() %} - {{i}} - {{i}} - {{i}}{{ c.name }} - {{i}} - {% endfor %} - {% for s in entry.syndications.all() %} - {{i}} - {{i}} - {{i}}{{ s.profile }} - {{i}} - {% endfor %} {{i}} {{i}}
@@ -46,6 +34,19 @@ {{i}}
{{i}}{{ entry.content | markdown }} {{i}}
+ + {% for c in entry.cats.all() %} + {{i}} + {{i}} + {{i}}{{ c.name }} + {{i}} + {% endfor %} + {% for s in entry.syndications.all() %} + {{i}} + {{i}} + {{i}}{{ s.profile }} + {{i}} + {% endfor %} {{i}}
{{i}} diff --git a/entries/static/entries/css/h-entry.styl b/entries/static/entries/css/h-entry.styl index 1177403..aff5f7d 100644 --- a/entries/static/entries/css/h-entry.styl +++ b/entries/static/entries/css/h-entry.styl @@ -42,3 +42,5 @@ ol.entries, div.entry max-width 100% > :last-child margin-bottom 0 + .card-link + font-size 0.8rem