Reputation: 5345
After searching several stack overflow and other posts I figured the proper way to get two "Cards" or anything really (I've tried with just text or paragraphs or simpler things to card) to show per row was to repeat with a col-6 on the same row and it should wrap:
<ion-grid>
<ion-row>
<ion-col col-6 *ngFor="let place of places">
<ion-card>
<ion-card-content>
<ion-card-title>
Card's Title
</ion-card-title>
<p>
Card's description
</p>
</ion-card-content>
</ion-card>
</ion-col>
</ion-row>
</ion-grid>
Upvotes: 0
Views: 1685
Reputation: 89
I think the reason is because ionic 4 not use col-size anymore. Instead you should try size="6" size-sm.
https://beta.ionicframework.com/docs/layout/grid#stacked-to-horizontal
Upvotes: 1