Styling in fab button


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"/>

    display: inline-grid;

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