How to get the home icon in the same line as the text?


#1


I want the home picure next to the dashboard, but that is not working and I dont know why it happened like this.


#2

What code do you use to generate this situation?
In general: Probably add a margin to the “icon” (or change the line-height if is an icon font).


#3

This is what I use, sorry for the late reply


#4

I can’T see anything here, Gyazo is blocked, please post the code as text and use the </> button to format it.


#5

< button menuClose ion-item *ngFor=“let p of pages” (click)=“openPage§” >
< ion-thumbnail item-left >< img src=“assets/icon/{{p.icon}}” >< /ion-thumbnail >
< p >{{p.title}}< /p >
< /button >


#6

I dont know why it isnt in 1 line. I used margin but it still didnt work. The text and the icons move from place not only the icons.


#7

I tried margin and stuff but it just didnt work


#8

Just use both of then in ion-row