I am currently using the latest version of bootstrap, but I have encountered an issue with my sidebar being too short and not reaching full height.
You can view the problem here:
Is this problem caused by my CSS or is it a bootstrap issue? And how can I go about fixing it?
CSS
li.active{
background-color: #428bca;
}
li {
padding-bottom: 5px;
padding-top: 5px;
}
.sidebar{
background-color: #f5f5f5;
padding-right: 20px;
padding-top: 20px;
}
/* Sidebar navigation */
.nav-sidebar {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
margin-left: -20px;
}
.nav-sidebar > li > a {
padding-right: 20px;
padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
color: #fff;
background-color: #428bca;
}
button{
color: #fafafa
}
HTML
<nav class="navbar navbar-dark navbar-full bg-inverse">
<button type="button" class="navbar-toggler" onclick="ToogleNavbar()">☰</button>
</nav>
<div class="container-fluid">
<div class="row" >
<div class="col-sm-3 col-md-2 sidebar" id="Navbar">
<ul class="nav nav-sidebar">
<li class='active'><a href="/">Home</a></li>
<li><a href="../notes">Notes</a></li>
<li><a href="../chat">Chat</a></li>
<li><a href="../rss">RSS</a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">\</div>
</div>
</div>