From: vincent@cubedesigners.com Date: Tue, 26 Apr 2022 14:15:40 +0000 (+0000) Subject: wait #5258 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bbc3517f9ff3dc85ca8d3de4d43531624b0dfbf7;p=cubeextranet.git wait #5258 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index fbe8af54f..906f2a876 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2808,13 +2808,10 @@ height="0" width="0" style="display:none;visibility:hidden"> $this->lessVariables['z'] = $this->z; $this->lessVariables['book-page-width'] = $w; - if ($this->book->parametres->correctCenter && !$this->isMobileFirst()) { - $this->lessVariables['book-page-correct-width'] = ceil($w) + 1; - $this->lessVariables['book-page-correct-height'] = ceil($h) + 1; - } else { - $this->lessVariables['book-page-correct-width'] = $w; - $this->lessVariables['book-page-correct-height'] = $h; - } + + $this->lessVariables['book-page-correct-width'] = $w; + $this->lessVariables['book-page-correct-height'] = $h; + $this->log('CSS 2'); $this->lessVariables['book-page-height'] = $h;