I. am new to the react .Here I have div which looks like ,
<div>
<div class="wrapper"></div>
<div class="secondwrapper"></div>
</div>
.secondwrapper {
padding: 25px 85px 25px 85px;
display: flex;
flex-direction: row;
/* justify-content: space-between; */
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
}
SO, Now for the secondwrapper div I want to add the overflow auto. and first div is to be fixed
.
SO, solution which I used was
height : calc(100vh - (height of wrapper div))
overflow-y: auto
which worked. But I am trying to solve this using the flex .
How can I solve this?