Skip to content

Commit

Permalink
Fix submenu whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Jun 17, 2024
1 parent 075ba4c commit e7882b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/views/components/submenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
@endif

@foreach($m as $sm)
<span @if($isSelected($sm['url']))class="pagemenu-selected"@endif>
<a href="{{ route('device', ['device' => $device_id, 'tab' => $current_tab, 'vars' => $sm['url']]) }}">{{ $sm['name'] }}</a>
</span>
<span @if($isSelected($sm['url']))class="pagemenu-selected"@endif><a href="{{ route('device', ['device' => $device_id, 'tab' => $current_tab, 'vars' => $sm['url']]) }}">{{ $sm['name'] }}</a></span>

@isset($sm['sub_name'])
(<span @if($isSelected($sm['sub_url']))class="pagemenu-selected"@endif><a href="{{ route('device', ['device' => $device_id, 'tab' => $current_tab, 'vars' => $sm['sub_url']]) }}">{{ $sm['sub_name'] }}</a></span>)
Expand Down

0 comments on commit e7882b2

Please sign in to comment.