mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
"display on horizontal scrollbar for width 100%"
This commit is contained in:
parent
f0173f0ea3
commit
62d3afdd36
@ -843,9 +843,11 @@ class etemplate extends boetemplate
|
|||||||
html::formatOptions($grid['span'],',class').
|
html::formatOptions($grid['span'],',class').
|
||||||
html::formatOptions($grid['name']?self::form_name($cname,$grid['name']):'','id'));
|
html::formatOptions($grid['name']?self::form_name($cname,$grid['name']):'','id'));
|
||||||
|
|
||||||
if (!empty($overflow)) {
|
if (!empty($overflow))
|
||||||
|
{
|
||||||
if (is_numeric($height)) $height .= 'px';
|
if (is_numeric($height)) $height .= 'px';
|
||||||
if (is_numeric($width)) $width .= 'px';
|
if (is_numeric($width)) $width .= 'px';
|
||||||
|
if ($width == '100%') $overflow .= '; overflow-x: hidden'; // no horizontal scrollbar
|
||||||
$div_style=' style="'.($width?"width: $width; ":'').($height ? "height: $height; ":'')."overflow: $overflow;\"";
|
$div_style=' style="'.($width?"width: $width; ":'').($height ? "height: $height; ":'')."overflow: $overflow;\"";
|
||||||
$html = html::div($html,$div_style);
|
$html = html::div($html,$div_style);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user