mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -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 {
|
&.menu-list .list-group-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0px;
|
padding: 10px 15px;
|
||||||
|
|
||||||
&-link {
|
&-link {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px 15px;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: $c-text;
|
color: $c-text;
|
||||||
transition: background-color 150ms;
|
transition: background-color 150ms;
|
||||||
|
|
|
@ -6,21 +6,21 @@
|
||||||
@if(is_array($menu_item[1]))
|
@if(is_array($menu_item[1]))
|
||||||
@foreach($menu_item[1] as $submenu_item)
|
@foreach($menu_item[1] as $submenu_item)
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
|
{{ $menu_item[0] }}: {{ $submenu_item[0] }}
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class="list-group-item-link"
|
class="list-group-item-link"
|
||||||
href="{{ url('/dashboard/' . $submenu_item[1]) }}">
|
href="{{ url('/dashboard/' . $submenu_item[1]) }}">
|
||||||
|
|
||||||
{{ $menu_item[0] }}: {{ $submenu_item[0] }}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
|
{{ $menu_item[0] }}
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class="list-group-item-link"
|
class="list-group-item-link"
|
||||||
href="{{ url('/dashboard/' . $menu_item[1]) }}">
|
href="{{ url('/dashboard/' . $menu_item[1]) }}">
|
||||||
|
|
||||||
{{ $menu_item[0] }}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue