Skip to content

Commit

Permalink
Add container to menu items with labels to fix display issue in firef…
Browse files Browse the repository at this point in the history
…ox (#30)
  • Loading branch information
webmodularity authored and jeroennoten committed Sep 2, 2016
1 parent 4c1359d commit 7cc94c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/partials/menu-item.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<i class="fa fa-fw fa-{{ $item['icon'] or 'circle-o' }} {{ isset($item['icon_color']) ? 'text-' . $item['icon_color'] : '' }}"></i>
<span>{{ $item['text'] }}</span>
@if (isset($item['label']))
<span class="label label-{{ $item['label_color'] or 'primary' }} pull-right">{{ $item['label'] }}</span>
<span class="pull-right-container">
<span class="label label-{{ $item['label_color'] or 'primary' }} pull-right">{{ $item['label'] }}</span>
</span>
@elseif (isset($item['submenu']))
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
Expand Down

0 comments on commit 7cc94c6

Please sign in to comment.