I have a coding dilemma here where I am attempting to make the SearchLocationCards overflow. It seems to work fine with 'px' and 'vh' values, but the '%' value doesn't seem to have any effect. How can I adjust the height of the scrollable box using % values?
<div className={{ maxHeight: '100%' }}>
<SearchDrawer />
<div style={{ overflow: 'auto', height: '85vh' }}>
<SearchedLocationCards
searchedLocations={props.searchedLocation.results}
/>
</div>
<Paginated
align='center'
justify='center'
direction='column'
totalPage={100}
/>
</div>