-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email text image on player profile wrong colour in dark mode #703
Comments
I can reproduce this on Edge and Mozilla. Doesn't happen on Chrome though. |
I experienced it on Chrome. I think the images are cached on the server after they're generated, so probably it depends who viewed the link the first time? |
No, because I followed your link with Chrome (didn't see it) then Edge (saw the same as you) and Mozilla (same). |
If it possible to set the background as transparent? Even on the light-mode, it shows up with a white box in the grey page. |
Yes. This is the line that controls the colours: https://github.com/kestasjk/webDiplomacy/blob/master/profile.php#L826 You could use There are a couple easy solutions:
Claesar didn't experience the problem in Chrome because he's a moderator, and moderators don't see the image. He may not have been logged in in the browsers where he experienced the problem. |
Bug report
When your webdip display mode is set to dark and you look at a player profile with a public email address (eg http://webdiplomacy.net/profile.php?userID=36106), then the email address is displayed in light mode colours, eg:
Expected behaviour
The email should display in dark mode colours when it's dark mode.
Actual behaviour
The email displayed in light mode colours. I'm repeating myself here. Who wrote this bug report template? Oh, I did. Hrm.\
Steps to reproduce
I'm not sure if the tea is necessary to reproduce the bug, I'm just telling you what I did.
The text was updated successfully, but these errors were encountered: