From: vincent@cubedesigners.com Date: Thu, 18 Jan 2018 09:36:59 +0000 (+0000) Subject: #1584 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=88e20a18bec7f0131de9e6cf69be8e268c1c0d04;p=cubeextranet.git #1584 --- 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 30aa9412b..16f0b21b4 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -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;