Fix bell icon notification

This commit is contained in:
r 2024-06-17 12:38:44 +00:00
parent 61c166b795
commit e46d067866
2 changed files with 10 additions and 4 deletions

View file

@ -192,9 +192,12 @@ textarea {
opacity: 0.6;
}
.notification-container.mention .status-content,
.notification-container.mention .status-reply-container,
.notification-container.mention .status-media-container {
.notification-container.notification-mention .status-content,
.notification-container.notification-mention .status-reply-container,
.notification-container.notification-mention .status-media-container,
.notification-container.notification-status .status-content,
.notification-container.notification-status .status-reply-container,
.notification-container.notification-status .status-media-container {
opacity: 1;
}

View file

@ -16,7 +16,7 @@
</form>
{{range .Notifications}}
<article class="notification-container {{.Type}} {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
<article class="notification-container notification-{{.Type}} {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
{{if eq .Type "follow"}}
<div class="user-list-item">
<div class="user-list-profile-img">
@ -66,6 +66,9 @@
{{else if eq .Type "mention"}}
{{template "status" (WithContext .Status $.Ctx)}}
{{else if eq .Type "status"}}
{{template "status" (WithContext .Status $.Ctx)}}
{{else if eq .Type "reblog"}}
<div class="retweet-info">
<a class="img-link" href="/user/{{.Account.ID}}">