From 36df7969e6c36ae087e92f43df25ae4ef4e26993 Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Tue, 11 Jul 2023 10:34:03 -0400 Subject: [PATCH] fix hide children firing --- public/style.css | 3 +++ templates/main.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index b99d837..2b8d148 100644 --- a/public/style.css +++ b/public/style.css @@ -480,6 +480,9 @@ form.nsfw div { .hidechildren.hidden .hide { display: none; } +.hidechildren span { + pointer-events: none; +} .expando { display: none; max-width: 870px; diff --git a/templates/main.html b/templates/main.html index 713d722..7b3b97d 100644 --- a/templates/main.html +++ b/templates/main.html @@ -3,7 +3,7 @@ {{if and .Posts .PostID }}{{ (index .Posts 0).Post.Name}} : {{.CommunityName}}{{else if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}} - +