Styling in fab button


#1

Hello,

I want to represent an icon and the text each other. I try it with inline-grid, but it works not fine. The image should not have always the same size.
In this example the label is chaned dynamically.

  <ion-fab bottom center>
    <button ion-fab>
      <div class="inner-fab-button">
        <img src="XXX"/>
        <label>{{XXX}}</label>
      </div>
    </button>
  </ion-fab>

  .inner-fab-button{
    display: inline-grid;
  }

#2

What exactly is your question? What do you need help with?