I can figure out how to set height of my .main-container height to 100%.
It looks like this enter image description here I cant set my sidebar to 100%, when i do
.main-container {
height: 94vh;
}
the height is too high.
There is some of my code, Im using bootstrap 5: Navbar:
<nav class="navbar fixed-top custom-navbar">
to position my sidebar nad main page im using:
<div class="main-container d-flex">
<div id="side_nav">...</div>
<div class="content">...</div>
</div>
css
body {
background: #f5f7fa;
padding-top: 3.5rem;
}
.content {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#side_nav {
background: #ffffff;
min-width: 300px;
max-width: 300px;
position: relative;
border-right: 1px solid #cbd0dd;
}