As shown on the duplicated post, you need to do:
#feed-post-home .feed > section {
margin-bottom: 10px;
-webkit-column-break-inside: avoid; /* Chrome webkit browsers */
page-break-inside: avoid; /* FF */
break-inside: avoid-column; /* Convention */
}
You could also set their display as inline-block
to prevent the breaks.
#feed-post-home .feed > section {
margin-bottom: 10px;
display: inline-block;
}