-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix visibility of the close button in status card #1575
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
base: master
Are you sure you want to change the base?
Conversation
|
What does it look like after the change? |
|
That's definitely not what we want. We already have a close button over the image. Seems like it's not visible for some reason though. If you want, we can also add the name the same way. But it definitely shouldn't be a black bar above the image. |
|
We don't want any bars above the image, if it wasn't clear from my previous comment. |
|
Sorry, I was thinking that the black is the problem, not the bar itself. I don't insist on my fix, just tried to be helpful. Do you have any other ideas how this could be fixed? I already know there is a close button and I just clicked in the top right corner but it is not very user-friendly to be invisible. |
|
We have this style on the icon: Which should make it visible, but I guess it doesn't work for some reason. So that part needs fixing. |
Add a semi-transperant background color to the icon's container and change the color of the close icon.
4221386 to
82b0345
Compare
|
Changing background doesn't look good. |
|
When icon is displaying over and image you don't have control of, could lead to invisible button - example if you make the icon's color black it will be ok on all the picture except the one with black in the top right part, if you make it white then you will have the same problem with images that are white. So I am not sure how to solve this issue without using some background color. Do you have any suggestions? |
|
I already pointed it out earlier. |
|
There are some options for js, but trying do fix it that way is unreasonable. |
|
Why is it unreasonable? |







The close button is not visible when there is an image for the device and the theme of the phone is dark, but it is there and you can click on it if you know where exactly it is:

I've added a line with the device name and the close button like it is when there is no image.
This behavior is happening on Pixel 7 and Pixel 8 with Chrome and Firefox.