Skip to content

Commit eee5140

Browse files
committed
Use same color pattern for tags tooltip
1 parent e7ed0b0 commit eee5140

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/views/shared/_dojo.html.erb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
<% end %>
2020

2121
<% if dojo.tags.length > 5 %>
22-
<li class="tags-more"
23-
data-title="<%= dojo.tags[5..].join(', ') %>"
24-
data-placement="bottom"
25-
data-toggle="tooltip">...</li>
22+
<li data-toggle="tooltip"
23+
data-placement="bottom"
24+
data-html="true"
25+
data-template='<div class="tooltip tags-more-tooltip" role="tooltip" style="background-color: #99CCFF; opacity:1;"><div class="tooltip-arrow"></div><div class="tooltip-inner" style="background-color: #99CCFF;color :#fff; opacity:1;"></div></div>'
26+
title="<%= dojo.tags[5..].join(', ') %>">...</li>
2627
<% end %>
2728
</ul>
2829

0 commit comments

Comments
 (0)