From 3efda67731e9e9304220f4517ed68baafeaff2cf Mon Sep 17 00:00:00 2001 From: DokterKaj <54882101+DokterKaj@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:52:16 +0800 Subject: [PATCH] rename `.comment_indent` -> `.comment_collapse` --- static/style.css | 6 +++--- templates/comment.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 4dcfa5e..0266996 100644 --- a/static/style.css +++ b/static/style.css @@ -1438,7 +1438,7 @@ a.search_subreddit:hover { position: relative; } -.comment_right[open] > .comment_data > .comment_indent { +.comment_right[open] > .comment_data > .comment_collapse { position: absolute; /* relative to .comment_right */ width: 20px; left: -35px; @@ -1446,7 +1446,7 @@ a.search_subreddit:hover { height: calc(100% - 45px); } -.comment:has(> .comment_right[open] > .comment_data > .comment_indent:hover) > .comment_left * { +.comment:has(> .comment_right[open] > .comment_data > .comment_collapse:hover) > .comment_left * { background: var(--highlighted); } @@ -2053,7 +2053,7 @@ th { margin-top: -5px; } - .comment_right[open] > .comment_data > .comment_indent { + .comment_right[open] > .comment_data > .comment_collapse { /* relative to .comment_right */ width: 15px; left: -29px; diff --git a/templates/comment.html b/templates/comment.html index b46366c..ee86da8 100644 --- a/templates/comment.html +++ b/templates/comment.html @@ -34,7 +34,7 @@ {% endfor %} {% endif %} -
+
{% if is_filtered %}
(Filtered content)