diff --git a/lib/zin/wg/cell/v1.php b/lib/zin/wg/cell/v1.php index dd89340cb4..b43b5f61c4 100644 --- a/lib/zin/wg/cell/v1.php +++ b/lib/zin/wg/cell/v1.php @@ -21,6 +21,7 @@ class cell extends wg $flex = $this->prop('flex'); if(!empty($width)) { + $basis = $width; if(is_numeric($width)) $basis = $width . 'px'; elseif(preg_match('/^(\d+)\/(\d+)$/', $width, $matches) !== 0) $basis = ((int)$matches[1] / (int)$matches[2] * 100) . '%'; }