I have recently started using Bootstrap for a project and I want to ensure that my application is responsive on various device screens including normal laptops, iPad Mini (768 X 1024), and iPad Air (820 X 1180). Below is a snippet of my HTML code:
<div class="row">
<div class="col-sm-12 col-md-6 text-start">
<span class="col-md-2" *ngFor="let i of data" >
<p-dropdown styleClass="dropdown" [options]="i" optionLabel="name"gt;</p-dropdown>
</span>
</div>
<div class="col-sm-12 col-md-6">
<button pButton label="reset" class="reset-button p-button-outlined"></button>
<button pButton label="apply" class="apply-button" (click)="showDialog()"></button>
</div>
</div>
When viewed on a normal screen, it looks like this: https://i.sstatic.net/hjo5D.png
But when I switch to an iPad Air, the dropdowns and buttons get stacked on top of each other. Is there a way to display them in separate rows, with all dropdowns in one row and all buttons in the next row? Any advice or solution would be greatly appreciated.