@NickyTheWrench wrote:
Hey folks!
Using ionic 4, I have an
ion-button
with an icon:<ion-button expand="block" color="dark"> <ion-icon slot="start" name="help"></ion-icon> Frequently Asked Questions </ion-button>
It looks like this:
Does anyone know if there is an “ionic way” to float the icon all the way to the left of the button, but keep the text centered?
Thanks for your help!
PS: I tried adding
float-left
to theion-icon
element, but no luck.<ion-icon slot="start" name="help" float-left></ion-icon>
Posts: 2
Participants: 2