mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix for size-setting/resizing of small appboxes; will now be displayed with full width, when not in company of another small-view-portal-box; half of the available width, when side by side with another small-view-portal-box.
This commit is contained in:
parent
938b7cf391
commit
4e3769041f
@ -239,7 +239,7 @@
|
||||
$tropen=1;
|
||||
}
|
||||
|
||||
$small = ($thisd>1) && (count($neworder) > $index + 1) && ($searchlist[$neworder[$index + 1]] > 1);
|
||||
$small = ($thisd>1) && (count($neworder) >= $index + 1) && ($searchlist[$neworder[$index + 1]] > 1 || $searchlist[$neworder[$index - 1]] > 1);
|
||||
$var['tdwidth'] = $small ? '50' : '100';
|
||||
$var['colspan'] = $small ? '1' : '2';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user