MDL-48026 usermenu: convert menu nowrap from CSS to method
[moodle.git] / lib / outputrenderers.php
index d20a2a4..93d345a 100644 (file)
@@ -3044,6 +3044,7 @@ EOD;
             $returnstr
         );
         $am->set_alignment(action_menu::TR, action_menu::BR);
+        $am->set_nowrap_on_items();
         if ($withlinks) {
             $navitemcount = count($opts->navitems);
             $idx = 0;