What would be the best approach to give the sheet modal a max height and make the content inside of that modal scroll able?
<div class="sheet-modal" style="height: auto; max-height: 400px">
<div class="sheet-modal-inner">
<div class="page-content">
<!-- scrollable content here -->
</div>
</div>
</div>
this happens with only height:auto;
this happens when i do as you describe but i cant scroll the content of page-content
I found the solution for those in the future:
<div class="sheet-modal" style="height: auto; max-height: 600px">
<div class="sheet-modal-inner">
<div class="page-content" style="height:400px">
<!-- scrollable content here -->
</div>
</div>
</div>
1 Like