about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-19 03:28:43 +0200
committerGitHub <noreply@github.com>2018-08-19 03:28:43 +0200
commit19b07ba260a64b300a81890119af0970df0eb994 (patch)
treeeeb5c367dab984bd48972157750e6feee8fd5650 /app/helpers
parent58ffe3f7c3d73f02d646869a5ed500fa7ff846d6 (diff)
Make unfollow button light up red when hovered (#8286)
Fix #8284
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/stream_entries_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb
index 121644263..9ded69436 100644
--- a/app/helpers/stream_entries_helper.rb
+++ b/app/helpers/stream_entries_helper.rb
@@ -19,7 +19,7 @@ module StreamEntriesHelper
           safe_join([render(file: Rails.root.join('app', 'javascript', 'images', 'logo.svg')), t('settings.edit_profile')])
         end
       elsif current_account.following?(account) || current_account.requested?(account)
-        link_to account_unfollow_path(account), class: 'button logo-button', data: { method: :post } do
+        link_to account_unfollow_path(account), class: 'button logo-button button--destructive', data: { method: :post } do
           safe_join([render(file: Rails.root.join('app', 'javascript', 'images', 'logo.svg')), t('accounts.unfollow')])
         end
       else