If you using bootstrap modal, then I tell you one thing that bootstrap modal dialog get automatically height by contain. If you content will big then It will display long modal dialog. Follow the below example code, copy code and paste it in your code. It give a modal dialog with scrollable.
<style type="text/css"> .modal-body { max-height: calc(100vh - 210px); overflow-y: auto; } </style>
I hope it will be helpful for you.
Question and answer is powered by AnsPress.io