.ListContainer {
overflow-y: scroll;
height: 500px;
}
<h1>Some header</h1>
<div>Some panel</div>
<div class="ListContainer">ui-office-fabric grid here</div>
I need to have ListContainer div to occupy the rest of the vertical space until the bottom, so scrolling inside that div will reveal hidden items. Fixed height is no good because monitors have different resolutions. So with higher resolution there will be a blank space below the div.
I tried specifying height: calc(100% - 240px) but it has no effect.
Any suggestions?