wmlunits: Use CSS to ensure sprites still fit in the tree when overlaid
This commit is contained in:
parent
6b5ba55fbc
commit
ee66b96025
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue