From: vincent@cubedesigners.com Date: Mon, 18 Jul 2016 14:53:10 +0000 (+0000) Subject: fix height issue #549 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=19d5fec1da200c53262315474e1bfed188f020d2;p=fluidbook-v3.git fix height issue #549 @0.25 --- diff --git a/js/002-common.js b/js/002-common.js index f33cc6e..ee3e75a 100644 --- a/js/002-common.js +++ b/js/002-common.js @@ -35,5 +35,11 @@ function setZoom(ww) { transform = 'scale(' + zoom + ')'; } + $("#mm-0").css('height', ''); + if (zoom > 1) { + var h = $("#mm-0").outerHeight(); + $("#mm-0").css('height', h * zoom); + } + $('#z,header').css('transform', transform); } \ No newline at end of file