From 21c4a76c162b090aa912569ae3e93578d991853f Mon Sep 17 00:00:00 2001
From: kanishk tyagi <77169323+fantom845@users.noreply.github.com>
Date: Mon, 18 Aug 2025 12:48:16 +0530
Subject: [PATCH] fix ally request svg aspect ratio (#1731)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Description:
The alliance icon was appearing squished in the radial menu because the
SVG was being forced into a 32x32 square without proper aspect ratio
preservation.
Change:
Added `viewBox="0 0 834 528"` and `preserveAspectRatio="xMidYMid meet"`
to the SVG element, which maintains the original aspect ratio (1.58:1)
when scaled to fit the allocated space.
After changes:
[
](url)
Refer to the issue for before.
Fixes #1730
## 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
- [x] I have read and accepted the CLA agreement (only required once).
## Please put your Discord username so you can be contacted if a bug or
regression is found:
phantom845
Co-authored-by: Kanishk-T
---
resources/images/AllianceIconWhite.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/images/AllianceIconWhite.svg b/resources/images/AllianceIconWhite.svg
index e9f700ade..3f710dbcb 100644
--- a/resources/images/AllianceIconWhite.svg
+++ b/resources/images/AllianceIconWhite.svg
@@ -1,6 +1,6 @@
-