I have a screen in my React App that serves as an Overview where a list should display all created accounts. But I want a button fixed at the bottom and the account list scrollable in the area that is not taken by the header elements and the bottom button. So it should fill the entire screen but only the list should be scrollable. I tried with flex-grow but it did not seem to work...Thanks for your help!
.list {
overflow: scroll
}
<div class="container">
<header>some Header</header>
<p>Some description</p>
<div class="list">
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
<p>Some value</p>
</div>
<button>Some button</button>
</div>