From 00cd1cffc7e78b0313c835329d141b6974b39b9a Mon Sep 17 00:00:00 2001 From: Dominic Ferrando Date: Fri, 25 Apr 2025 22:08:42 -0400 Subject: [PATCH] Small fixes --- web/static/index.css | 2 +- web/views/thread.templ | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/static/index.css b/web/static/index.css index 99038bc..3d715cd 100644 --- a/web/static/index.css +++ b/web/static/index.css @@ -276,7 +276,7 @@ body { margin: 4px 12px 4px 0; cursor: pointer; height: auto; - max-width: 40%; + max-width: 50%; } .post-vid { diff --git a/web/views/thread.templ b/web/views/thread.templ index 7424233..76a56e4 100644 --- a/web/views/thread.templ +++ b/web/views/thread.templ @@ -101,7 +101,11 @@ templ PostOriginal(post database.Post, thread database.Thread) { Pinned } -

{ thread.Subject } -

+

+ if thread.Subject != "" { + { thread.Subject } - + } +

{ post.Author } { post.CreatedAt.Format("01/02/2006") } { post.CreatedAt.Format("15:04") }