mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-12 19:12:18 +00:00
be more selective with styling the comments disclosure widget
This commit is contained in:
parent
9c8f8ba6a6
commit
377fc0526f
2 changed files with 3 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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 ';
|
||||
}
|
Loading…
Reference in a new issue