MDL-36837 theme: Help icons aligned on the left are well positioned
[moodle.git] / lib / outputrenderers.php
index ddf9147..3d7f410 100644 (file)
@@ -1660,7 +1660,7 @@ class core_renderer extends renderer_base {
     public function doc_link($path, $text = '', $forcepopup = false) {
         global $CFG;
 
-        $icon = $this->pix_icon('docs', $text, 'moodle', array('class'=>'iconhelp'));
+        $icon = $this->pix_icon('docs', $text, 'moodle', array('class'=>'iconhelp icon-pre'));
 
         $url = new moodle_url(get_docs_url($path));