Index: schedule/station_schedule.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/schedule/station_schedule.pages.inc,v
retrieving revision 1.7
diff -u -p -r1.7 station_schedule.pages.inc
--- schedule/station_schedule.pages.inc	13 Jan 2009 07:12:31 -0000	1.7
+++ schedule/station_schedule.pages.inc	21 Sep 2009 17:55:30 -0000
@@ -1,11 +1,10 @@
 <?php
 // $Id: station_schedule.pages.inc,v 1.7 2009/01/13 07:12:31 drewish Exp $
 
-
 function theme_station_schedule_hour($hour) {
   $class = 'station-sch-box station-sch-hour';
-  $height = 60;
-  $output = "<div class='{$class}' style='height:{$height}px;'>";
+  $height = 60/24;
+  $output = "<div class='{$class}' style='height:{$height}em;'>";
   $output .= theme('station_hour', $hour * 60);
   $output .= "</div>\n";
   return $output;
@@ -13,8 +12,8 @@ function theme_station_schedule_hour($ho
 
 function theme_station_schedule_spacer($start, $finish) {
   $class = 'station-sch-box station-sch-unscheduled';
-  $height = ($finish - $start);
-  $output = "<div class='{$class}' style='height:{$height}px;'>";
+  $height = ($finish - $start)/24;
+  $output = "<div class='{$class}' style='height:{$height}em;'>";
   $output .= "<span class='station-sch-time'>". theme('station_hour_range', $start, $finish) ."</span>";
   $output .= "</div>\n";
   return $output;
@@ -22,10 +21,10 @@ function theme_station_schedule_spacer($
 
 function theme_station_schedule_item($start, $finish, $program) {
   $class = 'station-sch-box station-sch-scheduled';
-  $height = ($finish - $start);
+  $height = ($finish - $start)/24;
   $link = url('node/'. $program->nid);
 
-  $output = "<div class='{$class}'><a href='{$link}' style='height: {$height}px;'>";
+  $output = "<div class='{$class}'><a href='{$link}' style='height: {$height}em;'>";
   $output .= '<span class="station-sch-time">'. theme('station_hour_range', $start, $finish) .'</span>';
   $output .= '<span class="station-sch-title">'. check_plain($program->title) .'</span>';
   if (!empty($program->field_station_program_dj)) {
