Make the dashboard home menu links take up the full column

This commit is contained in:
Kevin MacMartin 2018-04-02 22:47:09 -04:00
parent 06d660ee96
commit 5c1e1ef14e
2 changed files with 10 additions and 6 deletions

View file

@ -250,11 +250,15 @@ body {
&.menu-list .list-group-item {
position: relative;
padding: 0px;
padding: 10px 15px;
&-link {
position: absolute;
top: 0px;
left: 0px;
display: block;
padding: 10px 15px;
width: 100%;
height: 100%;
background-color: transparent;
color: $c-text;
transition: background-color 150ms;

View file

@ -6,21 +6,21 @@
@if(is_array($menu_item[1]))
@foreach($menu_item[1] as $submenu_item)
<li class="list-group-item">
{{ $menu_item[0] }}: {{ $submenu_item[0] }}
<a
class="list-group-item-link"
href="{{ url('/dashboard/' . $submenu_item[1]) }}">
{{ $menu_item[0] }}: {{ $submenu_item[0] }}
</a>
</li>
@endforeach
@else
<li class="list-group-item">
{{ $menu_item[0] }}
<a
class="list-group-item-link"
href="{{ url('/dashboard/' . $menu_item[1]) }}">
{{ $menu_item[0] }}
</a>
</li>
@endif