Show actions to score related content to everyone

We were only showing these actions to users with small screens and to
mouse users on hover. Keyboard users or users with a touch screen of a
medium or large size could never find out the actions were there.
This commit is contained in:
Javi Martín
2021-06-23 17:56:24 +02:00
parent e5070fb172
commit f298a308c2
3 changed files with 8 additions and 17 deletions

View File

@@ -5,13 +5,11 @@
score_positive_related_content_path(related),
method: :put,
remote: true,
id: "score-positive-related-#{related.id}",
class: "score-positive" %>
<%= link_to t("related_content.score_negative"),
score_negative_related_content_path(related),
method: :put,
remote: true,
id: "score-negative-related-#{related.id}",
class: "score-negative" %>
</span>