mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 22:53:26 +00:00
Fix TargetIcon color to match other icons in HelpModal (#2865)
If this PR fixes an issue, link it below. If not, delete these two lines. Resolves https://discord.com/channels/1330359017247346812/1330365278420471911/1358027146139795486 ## Description: In HelpModal, only the TargetIcon was displayed in red, which was inconsistent with the other icons. This PR updates its color to white so it matches the rest of the icons. before <img width="397" height="458" alt="スクリーンショット 2026-01-11 22 24 54" src="https://github.com/user-attachments/assets/2a2f5aa0-a31c-4ecb-887e-f151689c3236" /> after <img width="370" height="438" alt="スクリーンショット 2026-01-11 22 25 08" src="https://github.com/user-attachments/assets/d0c74805-8bc8-4e94-8a18-23488aba0389" /> ## 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: aotumuri Co-authored-by: FloPinguin <25036848+FloPinguin@users.noreply.github.com>
This commit is contained in:
@@ -700,7 +700,7 @@ export class HelpModal extends BaseModal {
|
||||
</li>
|
||||
<li class="flex items-center gap-3">
|
||||
<img
|
||||
src="/images/TargetIcon.svg"
|
||||
src="/images/TargetIconWhite.svg"
|
||||
class="w-8 h-8 scale-75 origin-left"
|
||||
/>
|
||||
<span>${translateText("help_modal.info_target")}</span>
|
||||
|
||||
Reference in New Issue
Block a user