Hi I want to display data in stacked form i.e one after the other in 2 coloumn format. I am using below code for that. But I am getting spaces between the data as shown in attachment; if data is more in one component and less in another.
<lightning:layout multipleRows="true">
<aura:iteration items="{!v.body}" var="test">
<lightning:layoutItem size="6" smallDeviceSize="12" mediumDeviceSize="6">
{!test}
</lightning:layoutItem>
</aura:iteration>
</lightning:layout>