Skip to content

Commit b62de95

Browse files
mohdqasim98fps01
authored andcommitted
Fix issue layout (#25)
* Update extension.js * Update main.php * Update main.php * Fixed collapsed menu condition check
1 parent dbd0e5b commit b62de95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/layouts/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
2828
<![endif]-->
2929
</head>
30-
<body class="nav-<?= !empty($_COOKIE['menuIsCollapsed'])?'sm':'md' ?>" >
30+
<body class="nav-<?= !empty($_COOKIE['menuIsCollapsed']) && $_COOKIE['menuIsCollapsed'] == 'true' ? 'sm' : 'md' ?>" >
3131
<?php $this->beginBody(); ?>
3232
<div class="container body">
3333

0 commit comments

Comments
 (0)