Skip to content

Commit

Permalink
Menu with subitems icon problem solved
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-owl committed Oct 16, 2014
1 parent b73e8ed commit 2c7a3d2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/SleepingOwl/Admin/Menu/MenuItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@ public function render($level = 1)
{
$level++;
$content = $this->htmlBuilder->tag('i', [
'class' => 'fa',
'fa-fw',
$this->getIcon()
'class' => [
'fa',
'fa-fw',
$this->getIcon()
]
]);
$content .= ' ' . $this->getLabel() . $this->htmlBuilder->tag('span', ['class' => 'fa arrow']);
$content = $this->htmlBuilder->tag('a', ['href' => '#'], $content);
Expand Down

0 comments on commit 2c7a3d2

Please sign in to comment.