Is there a way to create a panel in bootstrap with specific maximum and minimum lengths? My goal is to set a fixed length for the panel body and enable a scroll bar if the text overflows that length.
I've been attempting to increase the length of the panel body along with its border. I've tried using min-height and max-height properties, but they don't seem to be working as expected. Is there another method I can try?
<div class="col-lg-8">
<div class="panel panel-success">
<div class="panel-heading">
<h4 class="generate-logs">LOGS</h4>
</div>
<div class="panel-body" style="min-height: 10; max-height: 10; overflow-y: scroll;">
Step 1: <br> Step 2: <br> Step 3: <br> Step 4: <br> Step 5:
</div>
</div>
</div>