From c079f16d5838a27b81b6577fb097096252e8f69e Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Tue, 2 Oct 2018 13:50:26 +0200 Subject: [PATCH] Fix the tooltips positioning on canvas --- app/views/canvas/_tags.html.erb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/canvas/_tags.html.erb b/app/views/canvas/_tags.html.erb index 7895887f6..d87b3258c 100644 --- a/app/views/canvas/_tags.html.erb +++ b/app/views/canvas/_tags.html.erb @@ -1,10 +1,12 @@ -
+
<% tags2 = my_module.tags[0..3] %> <% tags2.each do |tag| %>
help_tooltips" - data-tooltiplink="<%= I18n.t('tooltips.link.task.color_tag') %>" - data-tooltipcontent="<%= I18n.t('tooltips.text.task.color_tag') %>" + class="<%= "last" if tag == tags2[-1] %>" title="<%= tag.name %>">