diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html index 99b8f0e..d1489c8 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -1,5 +1,5 @@ {% extends 'base.html' %} -{% from 'common.html' import ts, tag, disp_user %} +{% from 'common.html' import ts, tag, disp_user, post_url %} {% block header %}

{% block title %}apioforum{%endblock%}

{%endblock%} {%block nmcontent%}
@@ -38,7 +38,7 @@ {{ ts(preview_post[thread.id].created) }} - + {{ preview_post[thread.id].content[:500]|e }} -- cgit v1.2.3 From a3e72931780f4ecf9d59e537db4ff4c45f9924a7 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 21 Jun 2021 22:16:39 +0000 Subject: fix preview username styling --- apioforum/static/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index 04b4114..5f193aa 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -129,7 +129,10 @@ nav .links { display: flex; } text-overflow: ellipsis; margin-top: 10px; } -.thread-preview a, .thread-preview a:visited { color: black; text-decoration: none; } +.thread-preview-post a, .thread-preview-post a:visited { + color: black; + text-decoration: none; +} .thread-preview-post { font-style: italic; } .thread-preview-ts { font-weight: bold; } -- cgit v1.2.3