My two text fields are displaying correctly on most devices, but for some reason they drop down to the next line when viewed on an iPhone 5s/5.
https://i.sstatic.net/2xIPQ.png
Here is how I want them to look:
https://i.sstatic.net/mq013.png
add .code {
display: inline-block;
width: 100px;
max-width: 300px;
}
<div class="add-content">
<div>
<ion-item class="code">
<ion-input type="text" maxlength="4"></ion-input>
</ion-item>a
<span class="dash">-</span>
<ion-item class="code">
<ion-input type="text" maxlength="4"></ion-input>
</ion-item>
<input hidden #loseFocus>
</div>
</div>
<div class="card">
</div>