diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/index.html | 14 |
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 { |