mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
viewer: better mobile browser support
This commit is contained in:
parent
8ec33899d5
commit
32c967c1e9
1 changed files with 8 additions and 6 deletions
|
@ -2,18 +2,20 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>MinedMap</title>
|
||||
<link rel="stylesheet" href="leaflet-0.8-dev/leaflet.css" />
|
||||
<script src="leaflet-0.8-dev/leaflet.js"></script>
|
||||
<script src="MinedMap.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
#map {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html, body, #map {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body, .leaflet-container {
|
||||
|
|
Loading…
Add table
Reference in a new issue