]> _ Git - cubeextranet.git/commitdiff
#1584
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 18 Jan 2018 09:36:59 +0000 (09:36 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 18 Jan 2018 09:36:59 +0000 (09:36 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 30aa9412bf24fb3404cf15d18d98420f08d725eb..16f0b21b4076b3ffe794284743f84f55c285e960 100644 (file)
@@ -1342,7 +1342,7 @@ class wsHTML5Compiler {
                        $texts .= 'height:' . ($hm / $this->cssSVGScale) . 'px; max-height:' . ($hm / $this->cssSVGScale) . 'px;';
                        $texts .= '}';
                } else {
-                       $texts = '.texts{width:' . floor(($wm / $this->cssSVGScale) + 4) . 'px;height:' . floor(($hm / $this->cssSVGScale) + 4) . 'px;}';
+                       $texts = '.texts{width:' . floor($w + 4) . 'px;height:' . floor($h + 4) . 'px;}';
                }
                $res[] = $texts;