I have a simple grid layout in React with 2 cards, each in one column. How can I make the card on the left stretch to fill the column (as tall as screen) and when content expands inside, get a scrollbar for it while keeping the second one intact (and still align to the middle of the screen)?
<header className="App-header">
<Container>
<Row>
<Col md={4}>
<Card>with text here</Card>
</Col>
<Col md={8} className="align-self-center">
<Card>with other text here</Card>
</Col>
</Row>
</Container>
</header>
and the css:
.App-header {
background-color: #282c34;
min-height: calc(100vh - 59px);
max-height: calc(100vh - 59px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
}
this is how the UI looks right now:

Also codesandbox here https://codesandbox.io/s/zealous-lumiere-jv0wv?file=/src/App.js