Fixes sidebar

main
Yasen Pramatarov 2024-08-05 17:08:13 +03:00
parent b6fc4a995d
commit 77e674bab5
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@
overflow-x: hidden; overflow-x: hidden;
} }
.sidebar-wrapper.collapsed { .sidebar-wrapper.collapsed {
width: 2em; width: 3em;
} }
.sidebar-content { .sidebar-content {
width: 250px; width: 250px;

View File

@ -2,9 +2,6 @@
<!-- Menu --> <!-- Menu -->
<div class="menu-container"> <div class="menu-container">
<ul class="menu-left"> <ul class="menu-left">
<button class="btn btn-primary mb-3" type="button" id="toggleSidebarButton">
sidebar
</button>
<li><a href="index.php">home</a></li> <li><a href="index.php">home</a></li>
<?php if ( isset($_SESSION['username']) ) { ?> <?php if ( isset($_SESSION['username']) ) { ?>
<li><a href="?page=config">config</a></li> <li><a href="?page=config">config</a></li>

View File

@ -2,6 +2,9 @@
<!-- Sidebar --> <!-- Sidebar -->
<div class="col-md-3 sidebar-wrapper bg-light" id="sidebar"> <div class="col-md-3 sidebar-wrapper bg-light" id="sidebar">
<button class="btn btn-secondary" type="button" id="toggleSidebarButton">
sidebar
</button>
<div class="sidebar-content card card-body"> <div class="sidebar-content card card-body">
<ul class="list-group"> <ul class="list-group">
<li class="list-group-item"><a href="#">stats</a></li> <li class="list-group-item"><a href="#">stats</a></li>