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

the theme add a background on leaflet tiles #1110

Closed
12rambau opened this issue Jan 8, 2023 · 1 comment · Fixed by #1112
Closed

the theme add a background on leaflet tiles #1110

12rambau opened this issue Jan 8, 2023 · 1 comment · Fixed by #1112

Comments

@12rambau
Copy link
Collaborator

12rambau commented Jan 8, 2023

I'm using leaflet maps in one of my libs and when I switch from light to dark theme, the background color become visible between the map tiles.

Capture d’écran 2023-01-08 à 19 01 45

https://pygadm.readthedocs.io/en/latest/usage.html#get-items

@12rambau
Copy link
Collaborator Author

12rambau commented Jan 8, 2023

I did soe digging, it's actually a border issue:

html[data-theme=dark] .bd-content img:not(.only-dark):not(.dark-light) {
border-radius: .25rem;
}

html[data-theme=dark] .bd-content div.cell_output .text_html, html[data-theme=dark] .bd-content div.cell_output img {
border-radius: .25rem; 
 padding: .5rem;
}

I just need to find a clever selector and I'll propose a PR

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

Successfully merging a pull request may close this issue.

1 participant