commit 2f34aa239ecbe16f392f6a68ab7ec9dcf2e36118
parent 4c62d7158b001ce48b6f6c60577c88312fa486d5
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Mon, 27 Feb 2023 16:28:48 -0800
fix css in archive page
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/public/views/pages/chat-archive.gohtml b/pkg/web/public/views/pages/chat-archive.gohtml
@@ -75,7 +75,7 @@
<div class="mb-3">
{{ range .Data.Messages }}
{{ if (.UserCanSee $.AuthUser) }}
- <div class="msg" style="border-bottom: 1px solid #444; color: #888; position: relative;{{ if and (or .User.IsHellbanned .IsHellbanned) $.AuthUser.DisplayHellbanned }} background-color: rgba(0, 0, 0, 0.7);{{ end }}" id="{{ .UUID }}">
+ <div class="msg" style="border-bottom: 1px solid #444; color: #888; position: relative;{{ if and (or .User.IsHellbanned .IsHellbanned) $.AuthUser.DisplayHellbanned }} background-color: rgba(0, 0, 0, 0.7); opacity: 0.3;{{ end }}" id="{{ .UUID }}">
{{ if (.UserCanDelete $.AuthUser) }}
{{ if not .TooOldToDelete }}
<form method="post" action="/api/v1/chat/messages/delete/{{ .UUID }}" style="display: inline;">