Skip to content

Commit

Permalink
Fix issue layout (#25)
Browse files Browse the repository at this point in the history
* Update extension.js

* Update main.php

* Update main.php

* Fixed collapsed menu condition check
  • Loading branch information
mohdqasim98 authored and fps01 committed Jul 28, 2017
1 parent dbd0e5b commit b62de95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="nav-<?= !empty($_COOKIE['menuIsCollapsed'])?'sm':'md' ?>" >
<body class="nav-<?= !empty($_COOKIE['menuIsCollapsed']) && $_COOKIE['menuIsCollapsed'] == 'true' ? 'sm' : 'md' ?>" >
<?php $this->beginBody(); ?>
<div class="container body">

Expand Down

0 comments on commit b62de95

Please sign in to comment.