Skip to content

Commit

Permalink
left menu pinned updated
Browse files Browse the repository at this point in the history
  • Loading branch information
batuhawk committed Mar 3, 2020
1 parent e609da7 commit f09c901
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/views/layouts/admin.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@include('partials.admin.head')

<body class="g-sidenav-show">
<body id="leftMenu" class="g-sidenav-show g-sidenav-pinned">
@stack('body_start')

@include('partials.admin.menu')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/error.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@include('partials.admin.head')

<body class="g-sidenav-show">
<body id="leftMenu" class="g-sidenav-show g-sidenav-pinned">
@stack('body_start')

<div class="main-content" id="panel">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/modules.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@include('partials.modules.head')

<body class="g-sidenav-show">
<body id="leftMenu" class="g-sidenav-show g-sidenav-pinned">
@stack('body_start')

@include('partials.admin.menu')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/portal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@include('partials.portal.head')

<body class="g-sidenav-show">
<body id="leftMenu" class="g-sidenav-show g-sidenav-pinned">
@stack('body_start')

@include('partials.portal.menu')
Expand Down
4 changes: 4 additions & 0 deletions resources/views/partials/admin/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<!-- Argon -->
<script type="text/javascript">
if(window.screen.width<576) {
resolution = document.getElementById("leftMenu").classList.remove("g-sidenav-pinned");
}
'use strict';
var Layout = (function() {
Expand Down
4 changes: 4 additions & 0 deletions resources/views/partials/portal/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

<script type="text/javascript">
if(window.screen.width<576) {
resolution = document.getElementById("leftMenu").classList.remove("g-sidenav-pinned");
}
'use strict';
var Layout = (function() {
Expand Down

0 comments on commit f09c901

Please sign in to comment.