thead_split: add is traitor, fix icon scaling issue

This commit is contained in:
evanpelle
2025-02-01 12:05:11 -08:00
committed by Evan
parent ab183e4f59
commit 62a0642b4d
4 changed files with 8 additions and 2 deletions
+4
View File
@@ -163,6 +163,10 @@ export class NameLayer implements Layer {
iconsDiv.style.position = 'absolute'
iconsDiv.style.display = 'flex'
iconsDiv.style.zIndex = '1' // Lower z-index to appear behind
iconsDiv.style.width = '100%' // Add this
iconsDiv.style.height = '100%' // Add this
iconsDiv.style.top = '0' // Add this
iconsDiv.style.left = '0' // Add this
element.appendChild(iconsDiv)
this.container.appendChild(element)