https://i.sstatic.net/vvpD9.png
My project has an address list rendered from the backend. I now need to ensure that all panels have the same height and width, making them responsive.
The following is my HTML code:
The data in each panel corresponds to what is stored in my database, serving as test data.
<div class="col-sm-4 col-xs-12 addressBox-shipping" style="margin-bottom: 10px; margin-top: 10px; display: block;">
<div class="panel fixed-box" style="border:1px solid #ddd;margin-bottom: 3px;">
<div class="panel-body fixed-body">
<address style="margin: -10px 0 1px 0;min-height: inherit;">
<div class="row ">
<div class="col-md-12 ">
<strong style="word-break: break-all">Winnipeg</strong>
<br>
<span class="truncate_to_ellipsis" title="198 Commerce Drive">
198 Commerce Drive,
</span>
<br>
Winnipeg, Manitoba, R3P0Z6
<br>
Canada
<br>
</div>
</div>
</address>
</div>
<div class="panel-footer">
<div class="row" style="margin-bottom: 5px">
<div class="col-md-12 col-xs-12 col-sm-12">
<button class="form-control btn btn-default btn-sm pull-left" style="text-transform: capitalize;width: inherit;">
<span class="fa fa-square"></span>
Ship To Address
</button>
</div>
</div>
<div class="row">
<div class="col-md-6 col-xs-6 col-sm-6">
<button class="btn btn-default btn-sm pull-left addressDiv" style="text-transform: capitalize;" id="address721">
<span class="fa fa-edit"></span>
Edit
</button>
</div>
<div class="col-md-6 col-xs-6 col-sm-6">
<button class="btn btn-default btn-sm pull-left" style="text-transform: capitalize;">
<span class="fa fa-trash"></span>
Delete
</button>
</div>
</div>
</div>
</div>
</div>