From b6ab7759ef211e2d4d8cdee9fc44f362b7642eee Mon Sep 17 00:00:00 2001 From: alemela Date: Thu, 5 Jun 2014 18:43:13 +0200 Subject: [PATCH] html/annotate: fix image size --- registry/html/annotate.tpl.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/html/annotate.tpl.html b/registry/html/annotate.tpl.html index 922d561..98af090 100644 --- a/registry/html/annotate.tpl.html +++ b/registry/html/annotate.tpl.html @@ -81,8 +81,8 @@ " \n" + ""); jQuery("#my-img") - .css("max-width", "90%") - .css("max-height", "90%"); + .css("max-width", .7*jQuery(window).width()); + .css("max-height", .7*jQuery(window).height()); jQuery("#preview") .css("top", "0px") .css("left", "0px")