Changes

m
no edit summary
Line 157: Line 157:  
function equipment_tooltip(text, equipment_name, equipment_card)
 
function equipment_tooltip(text, equipment_name, equipment_card)
 
     return format{
 
     return format{
         [=[<span class="advanced-tooltip">[[${equipment_name}|${text}]]<div class="tooltip-contents" style="text-align:center; width:100%;"><div>${equipment_name}</div><div style="display: inline-block;">[[File:${equipment_card}|150px]]</div></div></span>]=],
+
         [=[<span class="advanced-tooltip">[[${equipment_name}|${text}]]<div class="tooltip-contents" style="text-align:center; width:100%;"><div style="word-wrap:break-word; width:150px;">${equipment_name}</div><div style="display: inline-block;">[[File:${equipment_card}|150px]]</div></div></span>]=],
 
         text = text,
 
         text = text,
 
         equipment_name = equipment_name,
 
         equipment_name = equipment_name,
cssedit, gkautomate
7,064

edits