From d1ef7a095ca9b1b6fe892cb4f5650d47f9daad5c Mon Sep 17 00:00:00 2001 From: rawleyIfowler Date: Wed, 2 Mar 2022 11:14:54 -0600 Subject: [PATCH] added css fill in for subtext, and fixed title bug for admin making posts --- controllers/admin.go | 3 ++- static/index.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/admin.go b/controllers/admin.go index 4875de6..fbabce7 100644 --- a/controllers/admin.go +++ b/controllers/admin.go @@ -96,5 +96,6 @@ func CreatePost(c *gin.Context) { c.HTML(http.StatusOK, "post_success.tmpl", struct { Url string Success bool - }{Url: f.Get("url"), Success: b}) + Title string + }{Url: f.Get("url"), Success: b, Title: " | post attempt"}) } diff --git a/static/index.css b/static/index.css index d296900..795729b 100644 --- a/static/index.css +++ b/static/index.css @@ -118,7 +118,7 @@ a:hover:after { margin: 12px; } -.subtext { +.subtext, .sub-text { font-size: clamp(0.65em, 0.72em, 0.8em); }