Skip to content

Commit 64fe251

Browse files
committed
Merge pull request #24 from tbicr/reset
Reset browser html and body styles
2 parents 0e3de3b + d99649c commit 64fe251

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

folium/templates/fol_template.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212

1313
<style>
1414

15+
html, body {
16+
width: 100%;
17+
height: 100%;
18+
margin: 0;
19+
padding: 0;
20+
}
21+
1522
#map {
1623
position:absolute;
1724
top:0;

folium/templates/geojson_template.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313

1414
<style>
1515

16+
html, body {
17+
width: 100%;
18+
height: 100%;
19+
margin: 0;
20+
padding: 0;
21+
}
22+
1623
.legend {
1724
padding: 0px 0px;
1825
font: 10px sans-serif;

0 commit comments

Comments
 (0)