be more selective with styling the comments disclosure widget

This commit is contained in:
John Bowdre 2024-04-27 22:42:51 -05:00
parent 9c8f8ba6a6
commit 377fc0526f
2 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@
{{- if and (eq .Site.Params.comments true) (ne $emailReplies false) }}
<span class="post_email_reply"><a href="mailto:blogreply-{{ .Title | truncate 40 | urlize}}@runtimeterror.dev?Subject=Re: {{ .Title }}">📧 Reply by email</a></span>
{{- end }}
<br><details><summary>Comments</summary>
<br><details class="comments_widget"><summary>Comments</summary>
{{- partial "comments" . }}
</details>
{{- end }}

View file

@ -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 ';
}