diff --git a/static/style.css b/static/style.css index a9d893a3..0266996b 100644 --- a/static/style.css +++ b/static/style.css @@ -1435,6 +1435,19 @@ a.search_subreddit:hover { flex-grow: 1; flex-shrink: 1; min-width: 0; + position: relative; +} + +.comment_right[open] > .comment_data > .comment_collapse { + position: absolute; /* relative to .comment_right */ + width: 20px; + left: -35px; + top: 45px; + height: calc(100% - 45px); +} + +.comment:has(> .comment_right[open] > .comment_data > .comment_collapse:hover) > .comment_left * { + background: var(--highlighted); } .comment:has([id]) .comment_data > * { @@ -2040,6 +2053,14 @@ th { margin-top: -5px; } + .comment_right[open] > .comment_data > .comment_collapse { + /* relative to .comment_right */ + width: 15px; + left: -29px; + top: 35px; + height: calc(100% - 35px); + } + .line { margin-left: 5px; } diff --git a/templates/comment.html b/templates/comment.html index 36c9b606..ee86da89 100644 --- a/templates/comment.html +++ b/templates/comment.html @@ -34,6 +34,7 @@ {% endfor %} {% endif %} +
{% if is_filtered %}
(Filtered content)