Hi, I have the following code and I’m trying to align the buttons with the text vertically in the middle position. I tried with vertical-align: middle CSS but without success.
Hi pwespi, thanks for answer. I tried both item-left and item-right and doesnt’t worked. I noted that only the text inside the moved to right when I put item-right and to left when I put item-left. I did a post in stackoverflow and received a answer with a possible solution using pure css. I want to know only if I don’t need to code css to align this itens inside a ion-buttons element or this suggested solution one of the possible way to achieve the expected result.
Sorry, I don’t saw that you removed the buttons elements. I used the code exactly as you provided and the result looks like below. Its well aligned but its not styled. I tried apply the classes ion-button, icon-only, clear and outline to try get the expected result as I wrote in the question but unsuccessfully. I expect to use the material-design to get nice sytle. Not like the result obtained below.
Adding color=“primary” gives me the icon you have in your initial screenshot. It can’t be that hard to add more styles. That said, this works for me too. Maybe I don’t understand what you’re trying to accomplish? (Edit: I just realized this is very similar to the answer of @pwespi. Maybe you didn’t check his code either?)