]> git.mjollnir.org Git - moodle.git/commitdiff
'added CSS for white-space:nowrap in styles_layout and took the hardcoded inline...
authorurs_hunkler <urs_hunkler>
Wed, 21 Feb 2007 21:09:08 +0000 (21:09 +0000)
committerurs_hunkler <urs_hunkler>
Wed, 21 Feb 2007 21:09:08 +0000 (21:09 +0000)
lib/tablelib.php

index 60b46d16fcd395f223957629355a8909a2f3d324..a37be7db16d3a883249fde7846900961ce724fa6 100644 (file)
@@ -528,11 +528,11 @@ class flexible_table {
             }
             else {
                 // took out nowrap for accessibility, might need replacement
-                 if (!is_array($this->column_style[$column])) {
+                /* if (!is_array($this->column_style[$column])) {
                     $usestyles = array('white-space:nowrap');
                  } else {
                     $usestyles = $this->column_style[$column]+array('white-space'=>'nowrap');
-                 }
+                 } */
                 echo '<th class="header c'.$index.$this->column_class[$column].'" '.$this->make_styles_string($usestyles).' scope="col">'.$this->headers[$index].$icon_sort.'<div class="commands">'.$icon_hide.'</div></th>';
             }