Folium loads two versions of bootstrap
bopjesvla opened this issue · comments
Bob commented
Describe the bug
Folium currently loads two versions of bootstrap:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
To Reproduce
The first Folium iframe on https://python-visualization.github.io/folium/latest/getting_started.html contains the above snippet.
Frank Anema commented
That's correct, we require Bootstrap 3 to show Glyphicons. See #1650.
But I did just notice in https://stackoverflow.com/a/18225474/4082914 they also list a css just for Glyphicons. It seems to work as well. Not sure why we didn't include that in #1650. I'll open a PR.