• 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
Fix vertical alignment when layered
Line 53: Line 53:  
ring_glow = {image = "Battle Card Marriage Ring Glow.png", top = "10px", left = "126px", opacity = "0.7"},
 
ring_glow = {image = "Battle Card Marriage Ring Glow.png", top = "10px", left = "126px", opacity = "0.7"},
 
},
 
},
_image_wrapper = [[<span class="image-stack" style="display: inline-block; position: relative; overflow: hidden;">${layers}</span>]],
+
_image_wrapper = [[<span class="image-stack" style="display: inline-block; position: relative; overflow: hidden; vertical-align: middle;">${layers}</span>]],
 
_image_layer = [[<span class="image-layer" style="position: absolute; top: ${top}; left: ${left}; opacity: ${opacity}; line-height: 0px;">${image}</span>]],
 
_image_layer = [[<span class="image-layer" style="position: absolute; top: ${top}; left: ${left}; opacity: ${opacity}; line-height: 0px;">${image}</span>]],
 
}
 
}
Anonymous user

Navigation menu