From 377fc0526f34ce5172a98fd37a10e6368e00ce8c Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 27 Apr 2024 22:42:51 -0500 Subject: [PATCH] be more selective with styling the comments disclosure widget --- layouts/_default/single.html | 2 +- static/css/custom.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fe78efb..57a627c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -60,7 +60,7 @@ {{- if and (eq .Site.Params.comments true) (ne $emailReplies false) }} 📧 Reply by email {{- end }} -
Comments +
Comments {{- partial "comments" . }}
{{- end }} diff --git a/static/css/custom.css b/static/css/custom.css index 4941b84..6172d6b 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -398,10 +398,10 @@ details { cursor: pointer; } -details summary::before { +details.comments_widget summary::before { content: 'Load '; } -details[open] summary::before { +details[open].comments_widget summary::before { content: 'Hide '; } \ No newline at end of file