mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
ensure a minimum height of each row (row height depend on the interval).
Fixes also bug: [ 1386910 ] unreadable event representation
This commit is contained in:
parent
5f64bb4962
commit
aa536186c1
@ -592,6 +592,11 @@ class uiviews extends uical
|
||||
$this->rowsToDisplay = ($totalDisplayMinutes/$granularity_m)+2+2*$this->extraRows;
|
||||
$this->rowHeight = round(100/$this->rowsToDisplay,1);
|
||||
|
||||
// ensure a minimum height of each row
|
||||
if ($height < ($this->rowsToDisplay+1) * 12)
|
||||
{
|
||||
$height = ($this->rowsToDisplay+1) * 12;
|
||||
}
|
||||
$html = $indent.'<div class="calTimeGrid" style="height: '.$height.'px;">'."\n";
|
||||
|
||||
$html .= $indent."\t".'<div class="calGridHeader row_on" style="width: 47px; height: '.
|
||||
|
Loading…
Reference in New Issue
Block a user