diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index d3c5ca090..489f10ea4 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2004,7 +2004,9 @@ table { .comment-votes { - a { + a, + .icon-like, + .icon-unlike { color: $text-light; display: inline-block; vertical-align: top; diff --git a/app/components/comments/votes_component.html.erb b/app/components/comments/votes_component.html.erb index e92b2bb25..cb428eb80 100644 --- a/app/components/comments/votes_component.html.erb +++ b/app/components/comments/votes_component.html.erb @@ -12,11 +12,9 @@ <% end %> <% else %> - <%= link_to new_user_session_path do %> - - <%= t("votes.agree") %> - - <% end %> + + <%= t("votes.agree") %> + <% end %> <%= comment.total_likes %> @@ -50,11 +48,9 @@ <% end %> <% else %> - <%= link_to new_user_session_path do %> - - <%= t("votes.agree") %> - - <% end %> + + <%= t("votes.agree") %> + <% end %> <%= comment.total_likes %> @@ -68,18 +64,18 @@ <% end %> <% else %> - <%= link_to new_user_session_path do %> - - <%= t("votes.disagree") %> - - <% end %> + + <%= t("votes.disagree") %> + <% end %> <%= comment.total_dislikes %> -