mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Make the dashboard home menu links take up the full column
This commit is contained in:
parent
06d660ee96
commit
5c1e1ef14e
2 changed files with 10 additions and 6 deletions
8
resources/assets/sass/dashboard.scss
vendored
8
resources/assets/sass/dashboard.scss
vendored
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue