]> _ Git - cubeextranet.git/commitdiff
wait #5258 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 26 Apr 2022 14:15:40 +0000 (14:15 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 26 Apr 2022 14:15:40 +0000 (14:15 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index fbe8af54fc773244a0fd0c1e0b16b501fe477277..906f2a876c1bfea25018207309fd12d58d5b99b8 100644 (file)
@@ -2808,13 +2808,10 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
         $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;