no post title hover, no post sort when no comments

This commit is contained in:
Ryan Stafford 2024-04-27 14:33:10 -04:00
parent 7edc475420
commit 8dcbb2665e
2 changed files with 2 additions and 2 deletions

View file

@ -436,7 +436,7 @@ form.nsfw div {
display: inline-block;
margin-right: 5px !important;
}
.buttons a:hover, .title a:hover, .buttons > form input:hover, .comment .buttons form input:hover {
.buttons a:hover, .buttons > form input:hover, .comment .buttons form input:hover {
text-decoration: underline;
}
.entry {

View file

@ -66,7 +66,7 @@
{{ if and .Session (eq .User.PersonView.Person.ID .Session.UserID) }}
<li {{if eq .Op "Saved"}}class="selected"{{end}}><a href="?view=Saved">saved</a></li>
{{ end }}
{{ else if .Comments -}}
{{ else if or .Comments .PostID -}}
<li class="selected"><a href="">comments</a></li>
{{ else if and .Activities (not .Query) }}
<li class="selected"><a href="">mailbox</a></li>