src/pydata_sphinx_theme/assets/styles/extensions/_leaflet.scss
raw| 1 | /** |
| 2 | * style for the various mapping libs based on leaflet (folium, geemap, ipyleaflet) |
| 3 | * mainly ensure the good display of the maps in both themes and avoid the customization |
| 4 | * of the tiles |
| 5 | */ |
| 6 | |
| 7 | /** |
| 8 | * avoid border override from pydata-sphinx-theme |
| 9 | * minimal selctor to get the priority |
| 10 | */ |
| 11 | html[data-theme="dark"] .bd-content img.leaflet-tile.leaflet-tile-loaded { |
| 12 | border-radius: 0; |
| 13 | padding: 0; |
| 14 | } |