wmlunits: Use CSS to ensure sprites still fit in the tree when overlaid

This commit is contained in:
Ignacio R. Morelle 2017-08-07 02:35:56 -04:00
parent 6b5ba55fbc
commit ee66b96025

View file

@ -696,7 +696,7 @@ class HTMLOutput:
write('<a href=\"%s\">' % link)
if crown == "":
write('<div style="background: url(%s)">' % image)
write('<div class="spritebg" style="background-image:url(\'%s\')">' % image)
write('<img src="%s" alt="(image)" />' % crownimage)
write("</div>")
else: