• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
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 !important;">${equipment_name}<br>[[File:${equipment_card}|150px]]</div></span>]=],
+
         [=[<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>]=],
 
         text = text,
 
         text = text,
 
         equipment_name = equipment_name,
 
         equipment_name = equipment_name,
cssedit, gkautomate
7,064

edits

Navigation menu