Fix the tooltips positioning on canvas

This commit is contained in:
Luka Murn 2018-10-02 13:50:26 +02:00
parent 9632d1cd01
commit c079f16d58

View file

@ -1,10 +1,12 @@
<div class="tags-container pull-right">
<div
class="tags-container pull-right help_tooltips"
data-tooltiplink="<%= I18n.t('tooltips.link.task.color_tag') %>"
data-tooltipcontent="<%= I18n.t('tooltips.text.task.color_tag') %>"
>
<% tags2 = my_module.tags[0..3] %>
<% tags2.each do |tag| %>
<div style="color: <%= tag.color %>"
class="<%= "last" if tag == tags2[-1] %> 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 %>">
<span class="fas fa-tag"></span>
</div>