Hi All,
How do I set width of ion-item-options? Right now it’s small and large based on text I’m showing in option. I want every option to be equal width.
<ion-item-options>
<button primary> <--- tried style='width:20%' but not working
<ion-icon name="add"></ion-icon>
<span>Add</span> <--- this is smaller
</button>
<button secondary>
<ion-icon name="remove"></ion-icon>
<span>Remove</span> <--- this is large as text is large
</button>
</ion-item-options>
[UPDATE]
I’m using style="width:15vw"
it works but once one of the ionic creator told me not to use viewport
-Thanks