diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index bac636d7ec..7958537e78 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -591,7 +591,12 @@ class uiviews extends uical $totalDisplayMinutes = $wd_end - $this->wd_start; $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.'
'."\n"; $html .= $indent."\t".'