summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;