diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-19 03:28:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 03:28:43 +0200 |
commit | 19b07ba260a64b300a81890119af0970df0eb994 (patch) | |
tree | eeb5c367dab984bd48972157750e6feee8fd5650 /app/helpers | |
parent | 58ffe3f7c3d73f02d646869a5ed500fa7ff846d6 (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.rb | 2 |
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 |