I worked on a similar problem for the nested drag-n-drop api package with the goal of being compatible with the bootstrap grid in the final rendering, the builder was not a bootstrap grid, but the home is the same boot grid paradigm and I fixed it with CSS3's wonderful flexbox
take a look at flexbox resolved
I placed the root string (only one for multi-line) and added a class to it that implements
display: flex; flex-wrap: wrap;
eg:
<div class="row flex-row"> <div class="col-6">Variable height content</div> <div class="col-3">...</div> <div class="col-12">...</div> <div class="col-3">...</div> ... </div>
and css
.flex-row{ display: flex; flex-wrap: wrap; }
this will automatically adjust the height of the entire window, located on one line, to a larger one.
Jo takion
source share