I have a requiremnt to put a grid inside a modal and modal need to sizes based on the content.
Following jsfiddle shows the basic requirement
<div class="pro-modal-outer">
<div class="pro-modal">
<div class="container">
<div class="row">
<div class="col-6">
1 of 2
</div>
<div class="col-6">
2 of 2
</div>
</div>
<div class="row">
<div class="col-4">
<div class="field">short</div>
</div>
<div class="col-4">
<div class="field long">
extra extra long content
</div>
</div>
<div class="col-4">
<div class="field">long content</div>
</div>
</div>
</div>
https://jsfiddle.net/Nash171/5c1t7dkv/17/
As you see here, some contents of a column overflow to next column.
Columns width need to be size based on it's content and container width need to adjust according to it.
In real case, content will be dynamic. Any column can contain different size child elements as content
All columns need to get equal width as well
Is there any possible solution for this?
