From: vincent@cubedesigners.com Date: Tue, 28 Feb 2017 16:31:05 +0000 (+0000) Subject: #1177 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=930b5d769765e3b83e73fc5e2897703f19c2465c;p=cubeextranet.git #1177 --- diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 0ec702bb8..569bf09ed 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -937,6 +937,7 @@ class wsHTML5Compiler { $this->config->phonegap = $this->phonegap; $this->config->retinaResolution = $this->maxRes; $this->config->pageLabels = $this->pageLabels; + $this->config->pageZoomFactor = $this->z; if ($this->home) { $this->config->home = 'http://home'; } @@ -1160,7 +1161,7 @@ class wsHTML5Compiler { $res[] = '.landscape #shadow>div.right{left: ' . $w . ';}'; $res[] = '.landscape .page.right{left:' . $w . '}'; if ($this->theme->parametres->displayPageNumber) { - $res[] = '#pagesnumbers{top:' . $h . ';color:' . self::colorToCSS($this->theme->parametres->colorPageNumber) . '}'; + $res[] = '#pagesnumbers{font-size: ' . (12 * $this->z) . 'px;margin: ' . (5 * $this->z) . 'px 0 0 0;top:' . $h . ';color:' . self::colorToCSS($this->theme->parametres->colorPageNumber) . '}'; $res[] = '#pagesnumbers div{width:' . $w . '}'; } else { $res[] = '#pagesnumbers{display:none;}';