mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 05:59:54 +00:00
thead_split: add is traitor, fix icon scaling issue
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user