I’m trying to place an ion-note under the ion-label element. The docs clearly state that it creates an element on the left or right side of an item, but you see it under de label in Android app everywhere. For example:
You can use html tags like <h2> and <p> inside <ion-item>. For example:
<ion-list>
<ion-item>
<ion-avatar item-start>
<img src="img/avatar-finn.png">
</ion-avatar>
<h2>Finn</h2>
<h3>Don't Know What To Do!</h3>
<p>I've had a pretty messed up day. If we just...</p>
</ion-item>
</ion-list>
This is the result. It still feels like a ‘hack’ because i’m increasing stacked size and decreasing normal text-size.
Will try pwespi’s later this weekend.
Looks good. I personally don’t mind hacking a bit to get what i want, but, can’t knock you for it! Post the results when you try @pwespi’s suggestion if you can.
A quick look at the link pwepsi provided does look like it might be a cleaner solution for sure
It’s silly because I saw this part of the documentation like a week ago. Anyway, in this case it doesn’t work. Maybe because this are ion-item-buttons. Could have fixed height or something I don’t know.
@anyone, aside from this css code working fine. Where could I request a features like this? Is GitHub the place to be?
Well the difference might be that you are using ion-items, not ion-item-buttons as I do. I think ion-items can have endless height, well ion-item-button cannot.