changeset 247:a19496c95be5

fix zoom/tap
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 May 2015 10:08:42 +0800
parents 2071d939e4ff
children 317a1738f15c
files web/views/top.tpl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/web/views/top.tpl	Thu May 21 00:00:10 2015 +0800
+++ b/web/views/top.tpl	Sat May 23 10:08:42 2015 +0800
@@ -20,7 +20,7 @@
 </head>
 <body>
 <form action="" method="get">
-<span class="no_selection"><input type="image" style="width: {{graphwidth}}" src="{{graphdata}}"/></span>
+<span class="no_selection"><input type="image" style="width: 100%; max-width: {{graphwidth}}px" src="{{graphdata}}"/></span>
 <input type="hidden" name="length" value="{{length}}"/>
 <input type="hidden" name="end" value="{{end}}"/>
 <input type="hidden" name="zoom" value="yeah"/>