From bbc3517f9ff3dc85ca8d3de4d43531624b0dfbf7 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 26 Apr 2022 14:15:40 +0000 Subject: [PATCH] wait #5258 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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; -- 2.39.5