fix(ui): strike through deleted comment revisions (#8458)

Resolves #8403

There's a issue with the comment history items that are deleted, they can be deleted by the author of the comment or by those that have write access. However when the item is deleted, it shows that the one who wrote that revision of the comment deleted it, which is not always true. Strike-through the item instead.

Co-authored-by: Daniele Pintore <daniele.pintore1@gmail.com>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8458
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: danielep <danielep@noreply.codeberg.org>
Co-committed-by: danielep <danielep@noreply.codeberg.org>
This commit is contained in:
danielep
2025-09-27 13:23:10 +02:00
committed by Gusted
co-authored by Daniele Pintore 0ko Gusted
parent 64cfb3580d
commit fd27fceacb
4 changed files with 47 additions and 7 deletions
+4
View File
@@ -2132,6 +2132,10 @@ details.repo-search-result summary::marker {
gap: 4px;
}
.comment-header-left > .content-history-menu.active s {
text-decoration-thickness: 10%;
}
.comment-body {
background: var(--color-box-body);
border: none !important;