Ion-toolbar button with equal width

  <ion-toolbar>
    <button outline round small>
      <ion-icon name="stats"></ion-icon>
     Dashboard
    </button>
    <button outline round small width-50>
      <ion-icon name="search"></ion-icon>
      Search
    </button>
  </ion-toolbar>

How do I give these button equal width so it always take 100% of screen width with 50% for each button?

  <ion-toolbar>
    <button outline round small no-margin style="width:49%">
      <ion-icon name="stats"></ion-icon>
     Dashboard
    </button>
    <button outline round small no-margin style="width:49%">
      <ion-icon name="search"></ion-icon>
      Search
    </button>
  </ion-toolbar>

Solved it using style=“width:49%”

1 Like