Skip to content
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

AdminDateWidget calendar prev next links are invisible in 3.0.8 #1057

Closed
AndrewYatskevich opened this issue Jun 18, 2024 · 4 comments
Closed
Assignees

Comments

@AndrewYatskevich
Copy link

Hello colleagues

We are using django-grappelli in our project. After updating to 3.0.8 the arrows of AdminDateWidget calendar got invisible. They don't show up in Google Chrome browser.

I've created repo to reproduce this bug. Please, check it out: https://github.com/AndrewYatskevich/bug-repro-invisible-arrows

OS Ubuntu 22.04.4 LTS
Browser Google Chrome Version 124.0.6367.118 (Official Build) (64-bit)

Best regards,
Andrew
invisible-arrows

@parsch parsch self-assigned this Jun 18, 2024
@parsch
Copy link
Collaborator

parsch commented Jun 18, 2024

@AndrewYatskevich I can't reproduce this quickly with my local setup, but have you checked whether the static files are loaded? The icon is part of a sprite map and should actually be visible if it can be loaded.

Bildschirmfoto 2024-06-18 um 16 00 51

@parsch
Copy link
Collaborator

parsch commented Jun 18, 2024

@AndrewYatskevich Sorry, can reproduce it with Chrome (used Firefox before). I will take a look at that.

@parsch
Copy link
Collaborator

parsch commented Jun 18, 2024

@AndrewYatskevich fixed in stable/3.0.x, see commit above.

I couldn't find the exact reason but Chrome seems to have a problem rendering background-image: url(my_transparent_icon.png) with background-color: transparent defined separately. Using the shorthand background: url(my_transparent_icon.png) x y, repeat, color) avoids the problem.

@parsch parsch closed this as completed Jun 18, 2024
@AndrewYatskevich
Copy link
Author

@parsch Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants