summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-24 14:41:19 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-24 14:41:19 +0000
commit3897efc2fe81a3a956d590d50c4e1a9970e89ba0 (patch)
treee18dcf123cf5e7dce725097c613751a40e8ad02e /tools
parent- set padding in html.tracker to 0 (diff)
- more width and height fiddling
git-svn-id: https://svn.spreadspace.org/mur.sat@164 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools')
-rw-r--r--tools/mmd/MmdWidgets.py2
-rw-r--r--tools/mmd/mmd.css2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index fb65f52..40fe96a 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -296,7 +296,7 @@ def osmWidget (session):
if not user_location:
user_location = Location ()
html = '''
- <iframe src="http://hofos.at/tracker?name={0}&longitude={1}&latitude={2}&altitude={3}" width="514px" height="512px" frameborder="0" scrolling="no"></iframe>
+ <iframe src="http://hofos.at/tracker?name={0}&longitude={1}&latitude={2}&altitude={3}" width="auto" height="auto" frameborder="0" scrolling="no"></iframe>
'''.format (
user_location.name,
user_location.longitude,
diff --git a/tools/mmd/mmd.css b/tools/mmd/mmd.css
index ed3f398..931bccf 100644
--- a/tools/mmd/mmd.css
+++ b/tools/mmd/mmd.css
@@ -35,6 +35,8 @@ html.tracker
#lcol
{
+ width: auto;
+ min-width: 520px;
margin: 1px;
padding: 0;
float: left;