]> git.mjollnir.org Git - moodle.git/commitdiff
putting nowarp back into table with proper style
authortoyomoyo <toyomoyo>
Mon, 8 Jan 2007 02:13:21 +0000 (02:13 +0000)
committertoyomoyo <toyomoyo>
Mon, 8 Jan 2007 02:13:21 +0000 (02:13 +0000)
lib/tablelib.php

index 6db74ab2e35d3c5aca35cc6b7a9eb64fcb465b9b..e4a86d98b4810b46d73c52eab6398fd6d376a1ba 100644 (file)
@@ -528,7 +528,7 @@ class flexible_table {
             }
             else {
                 // took out nowrap for accessibility, might need replacement
-                echo '<th class="header c'.$index.$this->column_class[$column].'" '.$this->make_styles_string($this->column_style[$column]).' scope="col">'.$this->headers[$index].$icon_sort.'<div class="commands">'.$icon_hide.'</div></th>';
+                echo '<th class="header c'.$index.$this->column_class[$column].'" '.$this->make_styles_string($this->column_style[$column]).' scope="col" style="white-space:nowrap;">'.$this->headers[$index].$icon_sort.'<div class="commands">'.$icon_hide.'</div></th>';
             }
 
         }