Skip to content

Commit

Permalink
chore: extract css to be minified
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Mar 31, 2023
1 parent 7d0be1f commit eef210d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
11 changes: 11 additions & 0 deletions src/map-normalize.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
html,
body,
div {
margin: 0;
padding: 0;
}

#map {
width: calc(100vw - (100vw - 100%));
height: 100vh;
}
16 changes: 1 addition & 15 deletions src/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<style>
html,
body,
div {
margin: 0;
padding: 0;
}

#map {
width: calc(100vw - (100vw - 100%));
height: 100vh;
}
</style>

<link rel="stylesheet" href="/map-normalize.css" />
<link rel="stylesheet" href="/leaflet.css" />
<title>Leaflet Map</title>
</head>
Expand Down

0 comments on commit eef210d

Please sign in to comment.