@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | // Add icon to label text |
196 | 196 | if (isset($link['icon'])) { |
197 | 197 | // Has issues on positioning: https://github.com/Dogfalo/materialize/issues/6224 |
198 | - $label = $this->renderIcon($link['icon']) . $label; |
|
198 | + $label = $this->renderIcon($link['icon']).$label; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | $options = $link; |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | if (isset($link['url'])) { |
209 | 209 | return Html::a($label, $link['url'], $options); |
210 | 210 | } else { |
211 | - return Html::tag('span', $label, $options) ; |
|
211 | + return Html::tag('span', $label, $options); |
|
212 | 212 | } |
213 | 213 | } |
214 | 214 | } |
@@ -153,7 +153,7 @@ |
||
153 | 153 | MaterializeExtraAsset::register($view); |
154 | 154 | |
155 | 155 | // Has issues on positioning: https://github.com/google/material-design-icons/issues/206 |
156 | - $label = $this->renderIcon($link['icon']) . $label; |
|
156 | + $label = $this->renderIcon($link['icon']).$label; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | $options = $link['options']; |
@@ -127,6 +127,6 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | $this->registerPlugin('button'); |
130 | - return Html::tag($this->tagName, $this->renderIcon($this->icon) . $label, $this->options); |
|
130 | + return Html::tag($this->tagName, $this->renderIcon($this->icon).$label, $this->options); |
|
131 | 131 | } |
132 | 132 | } |