I have the following code:
<div class="container">
<div class="left">
<!-- Children expands parent past container height -->
</div>
<div class="right">
</div>
<div>
<style>
.container {
width: 100%;
height: 100%;
display: row;
flex-direction: column;
}
.container .left {
width: 300px;
height: 100%;
overflow-y: auto;
}
.container .right {
flex: 1 1 auto;
height: 100%;
}
</style>
But when I add elements to the .left
div, the height expands instead of scroll.
How can I have the .left
div to scroll it's content instead of expand in height?