From acb95da1d0dba7bdc27acdf192ae9f749f6f44f5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 22 Jul 2023 21:51:45 +0300 Subject: [PATCH] Revert "disable active tabs" (clicking on them is useful to get back to the first page easily) This reverts commit 536723a1da07ab4708addb17f08d4648f4234b2b. --- files/assets/css/main.css | 4 ---- files/templates/comments.html | 8 ++++---- files/templates/post.html | 8 ++++---- files/templates/post_listing.html | 16 ++++++++-------- 4 files changed, 16 insertions(+), 20 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 9585fb096..d5668536a 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7579,10 +7579,6 @@ bdi { color: rgb(var(--background)) !important; } -.active:not(.voting-arrow) { - pointer-events: none; -} - label.btn.btn-secondary > span { word-break: break-word; } diff --git a/files/templates/comments.html b/files/templates/comments.html index 4ea7e0b67..fa6805f0c 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -322,12 +322,12 @@ {% elif v %}
  • - + {{score}} - +
  • @@ -355,7 +355,7 @@ {% endif %} {% elif v %} - + {% else %} @@ -371,7 +371,7 @@
  • {% endif %} {% elif v %} - + {% else %} diff --git a/files/templates/post.html b/files/templates/post.html index 44ed66cc6..ccd1508f0 100644 --- a/files/templates/post.html +++ b/files/templates/post.html @@ -217,10 +217,10 @@ {% if v %}
    -
    +
    {{score}} -
    +
    {% else %} @@ -262,7 +262,7 @@ {% endif %}
  • {% if v %} - + {% else %} @@ -273,7 +273,7 @@ {{score}} {% if v %} - + {% else %} diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html index e383b4308..638d048f9 100644 --- a/files/templates/post_listing.html +++ b/files/templates/post_listing.html @@ -33,18 +33,18 @@
    {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %} -
    +
    {{score}} -
    +
    {% elif v %} -
    +
    {{score}} -
    +
    {% else %} @@ -148,20 +148,20 @@ {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
  • - + {{score}} - +
  • {% elif v %}
  • - + {{score}} - +
  • {% else %}