hello,
when i use icon button, the component renders correctly on ionic serve
, but if i check on simulator and on the real device the icon is adjusted to the right. here is the code
<button fab class="btn-swap" (click)="swapStartEnd()"><ion-icon ios="ios-swap" md="md-swap"></ion-icon></button>
.btn-swap {
z-index: 20;
right: 0;
top: 45%;
}
blow capture is from the ios simulator
ios simulator
blow capture is from the ionic serve
ionic serve
how can i get this correct??
thank you