navigation MDL-22438 Fixed alignment issues with navigation items that were wrapping lines

This commit is contained in:
Sam Hemelryk
2010-06-03 08:27:03 +00:00
parent 8496eeb3bc
commit 48fa948491
+1 -1
View File
@@ -2415,7 +2415,7 @@ NONJS;
$title = $item->get_title();
if ($item->icon instanceof renderable && !$item->hideicon) {
$icon = $this->render($item->icon);
$content = $icon.' '.$content; // use CSS for spacing of icons
$content = $icon.$content; // use CSS for spacing of icons
}
if ($item->helpbutton !== null) {
$content = trim($item->helpbutton).html_writer::tag('span', $content, array('class'=>'clearhelpbutton'));