Files
OpenFrontIO/resources
kanishk tyagi a646818b55 fix ally request svg aspect ratio (#1731)
## 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:
[
<img width="166" height="184" alt="Screenshot 2025-08-07 at 4 52 15 PM"
src="https://github.com/user-attachments/assets/c1438b4d-9302-4a2b-8e25-c6d289e7148e"
/>
](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 <kanishk.tyagi@yugen.ai>
2025-08-18 03:26:32 -04:00
..
2025-07-01 17:09:18 -07:00
2025-05-27 19:54:35 -07:00
2025-08-17 21:54:15 -04:00
2025-07-25 19:52:05 -04:00
2025-08-03 01:38:21 -04:00
2025-05-10 00:50:56 -04:00
2025-05-29 11:07:04 -07:00