I have a grid of Client Cards that change sizes depending on the width of the window(1 per row/2 per row/3 per row...). Theses Card's height expand using Bootstrap when you reduce the size of the window.
The problem is when the first card (or second when 3 per row) grow in height there's not enough space for another card under it so the rightmost cards pile up.
Here's a example of the problem.
I've tried display: inline;
and its different values on the div but can't get the needed result.
Code of every div:
<div class="col-xl-4 col-lg-6 col-md-6 col-sm-12">
<div class="widget widget-client">
<div class="client-profile">...Profile Picture...</div>
<div>...Infos....</div>
<div class="widget-actions clearfix">...Bottom actions...</div>
</div>
</div>
My goal is to always have 2 (or 3, depending on the screen size) cards per row.
How can I achieve that result?