summaryrefslogtreecommitdiffstats
path: root/viewer/index.html
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 10:47:32 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 10:47:32 +0100
commit32c967c1e9fbdb58f5f9817011327edf6497d85a (patch)
tree597d19e65ffae124f2e3777f5e9b593c5cdf8afe /viewer/index.html
parent8ec33899d5b8ec3c049f8e4ffac7f71fd5b82dfc (diff)
downloadMinedMap-32c967c1e9fbdb58f5f9817011327edf6497d85a.tar
MinedMap-32c967c1e9fbdb58f5f9817011327edf6497d85a.zip
viewer: better mobile browser support
Diffstat (limited to 'viewer/index.html')
-rw-r--r--viewer/index.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/viewer/index.html b/viewer/index.html
index ca9116a..9c580a3 100644
--- a/viewer/index.html
+++ b/viewer/index.html
@@ -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 {