I am having some trouble arranging two columns in a row for my Ionic/Angular project. It seems like the content is stacking on top of each other instead of side by side.
Here's the CSS I'm using:
<ion-grid class="rewards-container" *ngIf="!noRewardsData">
<ion-row class="row-container">
<ng-container *ngFor="let category of categories">
<ion-col size="6" class="reward-item" *ngIf="contentVisibility[category.value] && getRewardsByCategory(category.value).length > 0">
<ion-card class="reward-card" *ngFor="let item of getRewardsByCategory(category.value); let i = index" (click)="selectedReward(item)">
<div>
<img class="reward-image" [src]="item.imageUrl" (error)="$event.target.src = defaultImg">
</div>
<div class="reward-details">
<div class="reward-name">{{item.name}}</div>
<div class="reward-cost">{{item.points}}</div>
</div>
</ion-card>
</ion-col>
</ng-container>
</ion-row>
</ion-grid>