Alliance icon does no longer stretch/disappear 🖌️ (#2527)

Resolves #2521

## Description:

Small CSS fix so the new alliance icon does not stretch when there are
multiple icons.

## Please complete the following:

- [X] I have added screenshots for all UI updates
- [X] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [X] I have added relevant tests to the test directory
- [X] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

FloPinguin
This commit is contained in:
FloPinguin
2025-11-27 04:50:58 +01:00
committed by GitHub
parent 41deef9e96
commit ab53ee687f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -169,6 +169,7 @@ export function createAllianceProgressIcon(
wrapper.style.width = `${size}px`;
wrapper.style.height = `${size}px`;
wrapper.style.display = "inline-block";
wrapper.style.flexShrink = "0";
// Base faded icon (full)
const base = document.createElement("img");
+1
View File
@@ -439,6 +439,7 @@ export class NameLayer implements Layer {
// Update existing alliance icon
allianceWrapper.style.width = `${iconSize}px`;
allianceWrapper.style.height = `${iconSize}px`;
allianceWrapper.style.flexShrink = "0";
const overlay = allianceWrapper.querySelector(
".alliance-progress-overlay",