mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 20:25:35 +00:00
a646818b55
## 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>