feel free to simply copy and paste both sets of code into your stackblitz.com project (the one where I also conducted my tests) and let me know if it meets your requirements
here is the CSS:
html, body {
height:100%;
}
.header {
width: 100%;
}
.container-fluid {
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
}
.h-4r {
height: 4rem;
}
.h-100 {
height: 100%;
}
.menu-header {
flex: 0 1 auto;
}
.menu-header-name {
background-color: rgba(0, 0, 0, 0.25);
width: 100%;
text-align: center;
}
.menu-header-title {
background-color: rgba(0, 0, 0, 0.25);
width: 100%;
text-align: center;
}
.main-view {
flex: 1 1 auto;
display: flex;
flex-direction: row;
}
.sidebar {
height: 110%;
background-color: rgba(0, 0, 0, 0.25);
}
.main-content {
background-color: rgba(0, 0, 0, 0.25);
height: 110%;
}
.sidebar-wrapper,
.main-content-wrapper {
flex: 1 1 auto;
overflow-y: scroll;
padding-top:15px;
padding-bottom:15px;
}
and here is the HTML:
<div id="app">
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="40222f2f34333432213000746e756e73">[email protected]</a>/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous">
</script>
<div class="container-fluid">
<div class="row menu-header">
<div class="d-flex col-3 h-4r align-items-center justify-content-center" style="background-color: #FF6D6E">
<div class="menu-header-name">A</div>
</div>
<div class="d-flex col-9 h-4r align-items-center justify-content-center" style="background-color: #8F8EEC">
<div class="menu-header-title">B</div>
</div>
</div>
<div class="row main-view">
<div class="col-3 sidebar-wrapper" style="background-color: #7EE987">
<div class="sidebar">C</div>
</div>
<div class="col-9 main-content-wrapper" style="background-color: #FDCE72">
<div class="main-content">D</div>
</div>
</div>
</div>