about summary refs log tree commit diff
path: root/app/views/statuses
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-10-04 15:02:36 +0200
committerGitHub <noreply@github.com>2020-10-04 15:02:36 +0200
commita549415868fe23e0afaf258c17afafac117d0163 (patch)
treee7132d73c4130d02c94d6fc86b2bdf6aa6e40183 /app/views/statuses
parent16b776c68f8ce40c9e31b00d0ca8e5844b237ed4 (diff)
Fix regressions in icon buttons in web UI (#14915)
Diffstat (limited to 'app/views/statuses')
-rw-r--r--app/views/statuses/_simple_status.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/statuses/_simple_status.html.haml b/app/views/statuses/_simple_status.html.haml
index 0c0b57112..336c1f2c8 100644
--- a/app/views/statuses/_simple_status.html.haml
+++ b/app/views/statuses/_simple_status.html.haml
@@ -52,13 +52,12 @@
       = t 'statuses.show_thread'
 
   .status__action-bar
-    .status__action-bar__counter
-      = link_to remote_interaction_path(status, type: :reply), class: 'status__action-bar-button icon-button modal-button' do
-        - if status.in_reply_to_id.nil?
-          = fa_icon 'reply fw'
-        - else
-          = fa_icon 'reply-all fw'
-      .status__action-bar__counter__label= obscured_counter status.replies_count
+    = link_to remote_interaction_path(status, type: :reply), class: 'status__action-bar-button icon-button icon-button--with-counter modal-button' do
+      - if status.in_reply_to_id.nil?
+        = fa_icon 'reply fw'
+      - else
+        = fa_icon 'reply-all fw'
+      %span.icon-button__counter= obscured_counter status.replies_count
     = link_to remote_interaction_path(status, type: :reblog), class: 'status__action-bar-button icon-button modal-button' do
       - if status.distributable?
         = fa_icon 'retweet fw'