From 48fa948491f68ee2d2b0f387bdf2984bb5846f9f Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 3 Jun 2010 08:27:03 +0000 Subject: [PATCH] navigation MDL-22438 Fixed alignment issues with navigation items that were wrapping lines --- lib/outputrenderers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 0823be1c4cf..64097780ae5 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -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'));